Github user lukaszlenart commented on a diff in the pull request:

    https://github.com/apache/struts/pull/151#discussion_r129281026
  
    --- Diff: core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java 
---
    @@ -88,7 +88,7 @@
          */
         public static final String REQUEST_POST_METHOD = "POST";
     
    -    public static final String MULTIPART_FORM_DATA_REGEX = 
"^multipart\\/form-data(; boundary=[\\-a-zA-Z0-9]{1,70})?";
    +    public static final String MULTIPART_FORM_DATA_REGEX = 
"^multipart/form-data(; boundary=[0-9a-zA-Z'()+_,\\-./:=?]{1,70})?";
    --- End diff --
    
    Also `-` has to be escaped as it is treated as a group separator


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to