Re: [TEST] Apache Struts 6.7.2 test build is ready
Lukasz Lenart <[email protected]> Wed, 5 Feb 2025 07:12:49 +0100
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <CAMopvkO-FwTGcX5TvMQ0Qk9Gb055d=+1Wx7=B_up_1Rs65kcPQ@mail.gmail.com> |
śr., 5 lut 2025 o 05:20 Kusal Kithul-Godage <[email protected]> napisał(a): > > I've just tested this with the Confluence Data Center application. > > The file name filtering is actually causing a user experience regression for us. > > Previously, we were able to validate the filename manually and display > the user an error - "Unsupported characters in file name". Now that > the file is discarded immediately, it shows the user an "Upload not > found" error which is not accurate. > > I think the new validation should also add a LocalizedMessage that can > be retrieved by MultiPartRequest#getErrors like we have for other > validations. What do you think? Sounds good to me, it can be covered using a dedicated message key so everyone can define their own message. Regards Łukasz