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:
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
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:
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