Merge lp:~widelands-dev/widelands-website/fix_map_upload into lp:widelands-website
Proposed by
kaputtnik
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 437 | ||||
Proposed branch: | lp:~widelands-dev/widelands-website/fix_map_upload | ||||
Merge into: | lp:widelands-website | ||||
Diff against target: |
57 lines (+9/-10) 1 file modified
wlmaps/forms.py (+9/-10) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands-website/fix_map_upload | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+312300@code.launchpad.net |
Description of the change
This should fix bug 1533789 (Upload with german umlauts fails)
This is just a try, because the server error couldn't be reproduced here locally.
This fix uses Djangos get_valid_name() of the storage class to get safe filenames.
I have also renamed some vars.
To post a comment you must log in.
LGTM - ship it so we can test.