coheigea commented on code in PR #3597:
URL: https://github.com/apache/cxf/pull/3597#discussion_r4713320774


##########
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:
   Thanks @RusJaI, and thanks @reta for pushing back. After looking more 
closely, I think enabling this by default is too risky. I’d rather keep the 
current default and make this configurable as part of the allowedSchemes work: 
once allowedSchemes can remove http/https in a backwards-compatible way, the 
fallback here should honour it (keeping your empty-input approach so Xerces 
doesn’t fetch the URL itself). Separately, I’ll open an issue to stop a failed 
schema build from silently disabling validation.



-- 
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]

Reply via email to