mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
📁 pre-commit
Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
04ba3cebab
commit
3178843b40
@ -67,7 +67,7 @@ public class StampController {
|
|||||||
if (pdfFileName.contains("..") || pdfFileName.startsWith("/")) {
|
if (pdfFileName.contains("..") || pdfFileName.startsWith("/")) {
|
||||||
throw new IllegalArgumentException("Invalid PDF file path");
|
throw new IllegalArgumentException("Invalid PDF file path");
|
||||||
}
|
}
|
||||||
|
|
||||||
String stampType = request.getStampType();
|
String stampType = request.getStampType();
|
||||||
String stampText = request.getStampText();
|
String stampText = request.getStampText();
|
||||||
MultipartFile stampImage = request.getStampImage();
|
MultipartFile stampImage = request.getStampImage();
|
||||||
|
Loading…
Reference in New Issue
Block a user