mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-02 13:48:15 +02:00
Merge branch 'allowExternalURLs' of git@github.com:Stirling-Tools/Stirling-PDF.git into allowExternalURLs
This commit is contained in:
commit
dcb07480c6
@ -182,7 +182,7 @@ public class SsrfProtectionService {
|
||||
|| ip.startsWith("192.168.")
|
||||
|| (ip.startsWith("172.") && isInRange172(ip))
|
||||
|| ip.startsWith("127.")
|
||||
|| ip.equals("0.0.0.0");
|
||||
|| "0.0.0.0".equals(ip);
|
||||
}
|
||||
|
||||
private boolean isInRange172(String ip) {
|
||||
|
Loading…
Reference in New Issue
Block a user