tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 59115] Part#getSubmittedFileName doesn't work corretly with double quotes in filenames.
Date Tue, 02 Aug 2016 18:10:38 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #12 from Mark Thomas <> ---
So, starting with RFC7578:
Section 4.2 points to RFC2183 for the definition of the content disposition

RFC2183 defines:
filename-parm := "filename" "=" value
and points to RFC2045 for value

value := token / quoted-string
and points to RFC822

quoted-string = <"> *(qtext/quoted-pair) <">

qtext         =  <any CHAR excepting <">,
                  "\" & CR, and including

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

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:
For additional commands, e-mail:

View raw message