coheigea commented on code in PR #3597:
URL: https://github.com/apache/cxf/pull/3597#discussion_r4713278476
##########
core/src/main/java/org/apache/cxf/resource/URIResolver.java:
##########
@@ -65,6 +65,8 @@ public class URIResolver implements AutoCloseable {
private static final Logger LOG = LogUtils.getLogger(URIResolver.class);
private static final String ALLOWED_URL_SCHEMES_PROPERTY =
"org.apache.cxf.resource.uriresolver.allowedSchemes";
+ private static final String DENIED_URL_SCHEMES_PROPERTY =
Review Comment:
@reta I think this one is OK to go in as is. It’s narrower than it looks:
- It only changes the last-resort fallback in SchemaLSResourceResolver.
Schemas already loaded with the WSDL, and anything found through
ResourceManager, resolve exactly as before. Only remote (http/https) imports
that nothing else could find stop being fetched.
- If a service does depend on such an import, shipping a local copy of the
XSD is a workaround. A proper opt-out can come with the allowedSchemes change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]