Re: file upload name filtering

2025-02-13 Thread Greg Huber
Unlikely a sanitizing method might not work for everybody.  I have had quite a few attempts to sanitize the way I want (first I run the Normalizer which removes all sorts of unwanted characters, then I only allow alphanumeric and then truncate the length) so to make one that fits all will not b

Re: file upload name filtering

2025-02-13 Thread Lukasz Lenart
My idea for that was related to what we are doing in ParametersInterceptor, but looks like this requires a step back and rethink. I would revert these changes for now if there are no objections. czw., 13 lut 2025 o 09:27 Greg Huber napisał(a): > > Unlikely a sanitizing method might not work for e

Re: file upload name filtering

2025-02-13 Thread Lukasz Lenart
Right now I'm looking at the "defaultStack": ... ... and escaping/normalising normal form fields doesn't make sense as this will happen in "params" interceptor. What should happen is a better control over file names. czw., 13 lut 2025 o 19:00 Lukasz Lenart napisał(a): > > My idea for tha