b***@wikimedia.org
2014-11-20 16:33:25 UTC
https://bugzilla.wikimedia.org/show_bug.cgi?id=73662
Bug ID: 73662
Summary: Server does not accept MIME RFC2231 encoded header
values
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: wikibugs-***@lists.wikimedia.org
Reporter: ***@gmx.de
CC: ***@wikimedia.org, ***@Gmail.com,
***@gmail.com, ***@reedyboy.net
Web browser: ---
Mobile Platform: ---
Values in MIME headers which are encoded using RFC2231 are not accepted. As the
only header value which isn't ASCII (and thus might need to be encoded) is in
ApiUpload this currently only accepts uploads with non-ASCII chars in the
filename.
Another interpretation of this bug is also, why there is 'filename' in the
header of the chunk/file entry of the MIME request as the server ignores it
apparently. But that would just mask the underlying issue that there is no way
to get Unicode data in the header values to the server (except by just using
the encoding of the server but afaics is that not MIME compliant and Python 3's
library doesn't support that).
Bug ID: 73662
Summary: Server does not accept MIME RFC2231 encoded header
values
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: wikibugs-***@lists.wikimedia.org
Reporter: ***@gmx.de
CC: ***@wikimedia.org, ***@Gmail.com,
***@gmail.com, ***@reedyboy.net
Web browser: ---
Mobile Platform: ---
Values in MIME headers which are encoded using RFC2231 are not accepted. As the
only header value which isn't ASCII (and thus might need to be encoded) is in
ApiUpload this currently only accepts uploads with non-ASCII chars in the
filename.
Another interpretation of this bug is also, why there is 'filename' in the
header of the chunk/file entry of the MIME request as the server ignores it
apparently. But that would just mask the underlying issue that there is no way
to get Unicode data in the header values to the server (except by just using
the encoding of the server but afaics is that not MIME compliant and Python 3's
library doesn't support that).
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.