This is what we are doing to monkeypatch urllib3 param function to bypass bug in jottacloud servers
Requests/urllib3 correctly encodes the filename of a multipart/form-data transfer if it contains non-ascii characters, and then names the field filename* (with an asterisk). See thorough explanation
This is too much for the Jottacloud server.
Luckily, the server happily swallows the encoded filename, if we just make sure that the field name contains no asterisk.
So this is what we do since 6770ed88a3842251cda9e903dd9ac4e4028e9691 :
This is what we are doing to monkeypatch urllib3 param function to bypass bug in jottacloud servers
Requests/urllib3 correctly encodes the
filename
of a multipart/form-data transfer if it contains non-ascii characters, and then names the fieldfilename*
(with an asterisk). See thorough explanationThis is too much for the Jottacloud server.
Luckily, the server happily swallows the encoded filename, if we just make sure that the field name contains no asterisk.
So this is what we do since 6770ed88a3842251cda9e903dd9ac4e4028e9691 :