You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "coheigea (via GitHub)" <gi...@apache.org> on 2026/05/08 11:22:18 UTC
[PR] Restrict valid URL protocols in TLSParameterJaxBUtils and URIResolver [cxf]
coheigea opened a new pull request, #3091:
URL: https://github.com/apache/cxf/pull/3091
(no comment)
--
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: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Restrict valid URL protocols in TLSParameterJaxBUtils and URIResolver [cxf]
Posted by "coheigea (via GitHub)" <gi...@apache.org>.
coheigea merged PR #3091:
URL: https://github.com/apache/cxf/pull/3091
--
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: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Restrict valid URL protocols in TLSParameterJaxBUtils and URIResolver [cxf]
Posted by "reta (via GitHub)" <gi...@apache.org>.
reta commented on code in PR #3091:
URL: https://github.com/apache/cxf/pull/3091#discussion_r3208503692
##########
core/src/main/java/org/apache/cxf/resource/URIResolver.java:
##########
@@ -56,6 +61,10 @@
*/
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 Set<String> DEFAULT_ALLOWED_URL_SCHEMES =
+ Collections.unmodifiableSet(new HashSet<>(Arrays.asList("file", "http", "https", "jar", "zip", "wsjar")));
Review Comment:
We also probably need "local" for LocalTransport?
```suggestion
Collections.unmodifiableSet(new HashSet<>(Arrays.asList("file", "http", "https", "jar", "zip", "wsjar", "local")));
```
On the similar note, we added AbstractWrapperWSDLLocator::ALLOWED_SCHEMES recently for very similar purpose, do you think we could consolidate those or it does not make much sense?
Thanks!
--
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: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Restrict valid URL protocols in TLSParameterJaxBUtils and URIResolver [cxf]
Posted by "coheigea (via GitHub)" <gi...@apache.org>.
coheigea commented on code in PR #3091:
URL: https://github.com/apache/cxf/pull/3091#discussion_r3208997039
##########
core/src/main/java/org/apache/cxf/resource/URIResolver.java:
##########
@@ -56,6 +61,10 @@
*/
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 Set<String> DEFAULT_ALLOWED_URL_SCHEMES =
+ Collections.unmodifiableSet(new HashSet<>(Arrays.asList("file", "http", "https", "jar", "zip", "wsjar")));
Review Comment:
Thanks @reta , I added "local" and consolidated the older code in AbstractWrapperWSDLLocator
--
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: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org