Opened 8 years ago

Closed 8 weeks ago

#4204 closed enhancement (duplicate)

GPX Upload does not check for filetype

Reported by:… Owned by: rails-dev@…
Priority: minor Milestone:
Component: api Version:
Keywords: Cc:


Ran a mapping party with newbie users.

One user was recording GPX tracks with OSM Tracker for Android. WHen it came to upload the tracks to OSM, the user managed to select some jpg's instead of the GPX files!

Unfortunately, OSM didnt complain that it was the wrong filetype at upload, but only at the processing stage failed with a generic XML Parser error.

Could you check on upload for file extensions, or if this is not doable, have a more descriptive error message on processing than a generic XML parser error ?

Change History (2)

comment:1 Changed 8 years ago by Tom Hughes

Unfortunately I don't think the extension would be a reliable way of determining whether it was likely to be a valid GPS trace or not, especially given the wide variety of wrapper formats (gz. bz2, zip, etc) that we support.

comment:2 Changed 8 weeks ago by mmd

Resolution: duplicate
Status: newclosed

Issue still exists, moving to Github, and closing here.

Note: See TracTickets for help on using tickets.