[
https://issues.apache.org/jira/browse/WW-5500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907835#comment-17907835
]
Andreas Sachs commented on WW-5500:
-----------------------------------
I hadn't seen that. I've tried it now: It works. ParameterParser of
commons-fileupload handles parameters with quotation marks correctly (removing
the quotation marks to parse the data).
Can you change the default pattern to allow unquoted and quoted boundaries?
Unfortunately, I cannot provide a RegEx, because for my test I allowed "
generally, and not only at the beginning or end. ( I don't know how to write a
regex with optional quotation marks at the beginning and quotation marks at the
end depending on the beginning)
> Multipart Requests are not recognized
> -------------------------------------
>
> Key: WW-5500
> URL: https://issues.apache.org/jira/browse/WW-5500
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 6.7.0
> Reporter: Andreas Sachs
> Priority: Major
> Fix For: 6.7.1
>
>
> multipartValidationPattern defined in Dispatcher.java does not allow
> multipart requests with quotations.
>
> Eg:
> multipart/form-data; boundary="----=_Part_38_1092302434.1734807780737"
>
> It's working without ".
>
> Eg:
> multipart/form-data; boundary=----=_Part_38_1092302434.1734807780737
>
> Apache httpcomponents adds " to the boundary parameter. It's used by soap ui.
>
>
>
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)