Attachments (0)
Change History (4)
comment:1 by , 3 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
comment:2 by , 3 years ago
The problem also occurs when you try such a name as a source for external validator rules.
Wouldn't it be easy and much better to try again with trailing blanks removed?
I've encountered this problem several times because I often have file names with trailing blanks in the clipboard.
comment:3 by , 3 years ago
Blanks in filenames are perfectly valid. We only strip blanks in places where they aren't valid.
comment:4 by , 3 years ago
Sure, nobody talks about removing blanks in the middle. I also don't suggest to remove the trailing blanks before trying to open the file. I just suggest to try again with removed trailing spaces if the given file name doesn't exist.




Well, that's by design. JOSM loads a set of different file formats which are all very similar and thus we rely on the extension to provide the filetype. There is no deep file inspection to determine the type based on the contents. So unknown extensions wont load and ".gpx " is an unknown extension.