Don't send %-encoded filenames to server (HTTP Upload)
Versions
- OS: Linux
- Gajim version: 1.0.2
- GTK version: 3.22
- Python-nbxmpp version: 0.6.5
Steps to reproduce the problem
- Send file with spaces in name (e.g. "Photo 2.png")
Expected behavior
Sever should get the Filename "Photo 2.png" So the URL to that file would be "https://domain.tld/upload/HASH/Photo%202.png"
Actual behavior
Server gets the encoded filename "Photo%202.png". So the URL gets double encoded to %2520 ("https://domain.tld/upload/HASH/"Photo%25202.png")
See bug report on Prosody