Merge branch 'allowExternalURLs' of git@github.com:Stirling-Tools/Stirling-PDF.git into allowExternalURLs

This commit is contained in:
a 2025-07-24 10:48:33 +01:00
commit dcb07480c6

View File

@ -182,7 +182,7 @@ public class SsrfProtectionService {
|| ip.startsWith("192.168.") || ip.startsWith("192.168.")
|| (ip.startsWith("172.") && isInRange172(ip)) || (ip.startsWith("172.") && isInRange172(ip))
|| ip.startsWith("127.") || ip.startsWith("127.")
|| ip.equals("0.0.0.0"); || "0.0.0.0".equals(ip);
} }
private boolean isInRange172(String ip) { private boolean isInRange172(String ip) {