Allow embedded resource URLs if external resources are disabled

This commit is contained in:
Oliver Schmidtmer
2021-03-26 16:05:21 +01:00
parent da45c5783d
commit 96223f9f9f
3 changed files with 117 additions and 1 deletions
@@ -655,7 +655,7 @@ public class SVGImageReader extends ImageReaderBase {
if (allowExternalResources) {
return super.getExternalResourceSecurity(resourceURL, docURL);
}
return new NoLoadExternalResourceSecurity();
return new EmbededExternalResourceSecurity(resourceURL);
}
}
}