Merge pull request #788 from Stirling-Tools/pixeebot/fix_stamp_margins

Hardening suggestions for Stirling-PDF / fix_stamp_margins
This commit is contained in:
Eric 2024-02-07 21:52:21 -05:00 committed by GitHub
commit 2e0790c893
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ public class ShowJavascript {
if (script.isEmpty()) { if (script.isEmpty()) {
script = script =
"PDF '" + inputFile.getOriginalFilename() + "' does not contain Javascript"; "PDF '" + Filenames.toSimpleFileName(inputFile.getOriginalFilename()) + "' does not contain Javascript";
} }
return WebResponseUtils.bytesToWebResponse( return WebResponseUtils.bytesToWebResponse(