You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/08/02 18:10:38 UTC
[Bug 59115] Part#getSubmittedFileName doesn't work corretly with
double quotes in filenames.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59115
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #12 from Mark Thomas <ma...@apache.org> ---
So, starting with RFC7578:
Section 4.2 points to RFC2183 for the definition of the content disposition
header.
RFC2183 defines:
filename-parm := "filename" "=" value
and points to RFC2045 for value
RFC2045
value := token / quoted-string
and points to RFC822
RFC822:
quoted-string = <"> *(qtext/quoted-pair) <">
qtext = <any CHAR excepting <">,
"\" & CR, and including
linear-white-space>
And this is what Tomcat currently implements.
There are lots up updates to these RFCs around i18n values. Browsers don't seem
to be using them. We can update Tomcat if / when browsers start supporting
them.
On the grounds Tomcat is adhering to the relevant RFCs and IE is not, I am
re-resolving this issue as fixed.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org