Re: [TEST] Apache Struts 6.7.2 test build is ready
Lukasz Lenart <[email protected]> Mon, 17 Feb 2025 11:33:21 +0100
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <CAMopvkMmwAML+5CfDcC+2LV6mAhN1RcLdxuv3USKcbChcAh4TQ@mail.gmail.com> |
This test build has been dropped in favour of the new Struts 6.7.3 test build (I will announce it shortly) and the problem should be addressed, thanks for your time & report! pon., 10 lut 2025 o 06:53 戸田 栞太(HARP) <[email protected]> napisał(a): > > I am unable to obtain a token during the form upload process. Specifically, I have tried the following. > > ・I submitted a form from the browser with "enctype" set to "multipart/form-data" and used "struts.token.name" as the token name in the request. > ・When executing "getTokenName()" from "TokenHelper" in the "struts2-core-6.7.2.jar" on the application side, it returns null. > ・Upon debugging, I found that "!params.contains("struts.token.name")" in "TokenHelper.getTokenName()" indicates that the relevant token is not included in the "params". It seems that the exclusion patterns added to "DefaultExcludedPatterns" may be affecting this. > ・When the "enctype" is set to "application/x-www-form-urlencoded", I am able to retrieve the token. > > As part of upgrading to version 6.7.2, are there any necessary adjustments that need to be made on the application side? > > On 2025/02/04 06:59:20 Lukasz Lenart wrote: > > Hello, > > > > This is a patch release of Struts 6.x.x which contains only > > non-breaking changes. Please take the time and test the bits - any > > help is appreciated. Please report any problems you will spot. > > > > Here are the changes from the previous version: > > https://github.com/apache/struts/releases/tag/STRUTS_6_7_2 > > > > Staging Maven repo > > https://repository.apache.org/content/groups/staging/ > > > > Standalone artifacts > > https://dist.apache.org/repos/dist/dev/struts/6.7.2/ > > > > Release notes > > https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.7.2 > > > > > > Kind regards > > -- > > Łukasz > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] For > > additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >