struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sdutry <>
Subject [GitHub] struts pull request #151: WW-4818 change default Multipart validation regex ...
Date Tue, 25 Jul 2017 11:56:05 GMT
Github user sdutry commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/struts2/dispatcher/ ---
    @@ -88,7 +88,7 @@
         public static final String REQUEST_POST_METHOD = "POST";
    -    public static final String MULTIPART_FORM_DATA_REGEX = "^multipart\\/form-data(;
    +    public static final String MULTIPART_FORM_DATA_REGEX = "^multipart/form-data(; boundary=[0-9a-zA-Z'()+_,\\-./:=?]{1,70})?";
    --- End diff --
    Ok, i'll add some tests to confirm the pattern is correct.
    (Or if needed to correct it)

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message