[openstreetmap/openstreetmap-website] [Solved] gpx parameter in editor URL causes Application error (Issue #3540)

Andy Allan notifications at github.com
Tue May 3 10:10:28 UTC 2022


> Well tasking manager is a different application so it's free to do what it wants with it's parameters. I don't see what relevance it has to this bug?

Because it was demonstrating that another site (Tasking Manager) was generating links to osm.org which a) loads the editor and b) also loads an arbitrary GPX file.

@answerquest has now solved their issue at hand, which is why sometimes the gpx param allow arbitrary urls, while other times the gpx param only take trace ids, because there's a difference between query params (after a `?`) which this codebase handles, and the fragment identifiers (`#`) which gets passed directly to iD.

I think it's confusing and unhelpful for developers to have two different ways of specifying GPX files to load in iD, but I don't think the current situation is deliberate, and I'm not sure how high a priority it would be to unify the different methods for passing parameters to iD to remove this confusion.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3540#issuecomment-1115937081
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3540/1115937081 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220503/25d972c9/attachment.htm>


More information about the rails-dev mailing list