-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hello,
After testing the latest filter, we found some case where when we upload certain files, the files that gets saved is "corrupted".
You can find an offending file here: https://github.com/julienfromentc/struts1filter-issue/raw/master/PDF.PDF, in this case the resulting PDF will be blank page.
Update:
It seems the issue happens with the following characters:
- 81
- 8D
- 8F
- 90
- 9D
Those characters are undefined in Windows1252 (http://en.wikipedia.org/wiki/Windows-1252). After the string conversion, those chars are transformed to '?'. So if we could convert the read the inputstream in an other encoding, the issue could be fixed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels