Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/371
Narrative
As a user, I want share URLs which are easy to handle and do not break in various environments
Acceptance Criteria
- URL should work even if the file name has exotic characters and the browser has weird ideas about how to encode/decode URLs (esp. old IE)
- URL should be autolinked in clients which do that sort of thing (e.g. Gmail) without the end being chopped off
- URL should work even if the file name contains special characters (especially a / sign)
- URL should be possible to generate from the file name in a wiki environment (via {{urlencode}} or {{anchorencode}} for example), preferably without having to resort to Lua
- if it is possible to do all that and still have a URL which is readable in modern browsers (non-Latin languages do not become a hex soup), that would be great. It is probably not, though.