wlmaps: Downloading a map depends on map name, not map filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands Website |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Two strange things:
1. One creates a map, gives the map a name in editor map options but saves it with a different name. F.e.:
- Map name (editor options): 'First test'
- Filename: 'Atlanteans mission'
After uploading the map on the website the map name "First test" is shown up. When downloading you will get a map called 'First test.wmf', not the real filename 'Atlanteans mission.wmf'. Not a big problem but confusing.
2. Because the name of a map (set in editor map options) could contain special characters (like a slash) this could lead into misbehavior. F.e.:
- Map name (editor map options): 'map 64/64'
- Filename: 'map 64x64' (saving with a slash isn't possible in editor)
When uploading on the Website the Mapname is shown as "map 64/64" which seems to be correct, but trying to download result in a downloaded file called '64.wmf'.
I think we should deliver the map file with his real filename, not the name given in editor map options.
Changed in widelands-website: | |
importance: | Undecided → Low |
tags: | added: map |
Of course it could also be confusing when a map is shown up with name 'First test' and by download it is saved as 'atlantean mission.wmf'. Maybe we have to display also the filename on the homepage to clarify.