coheigea opened a new pull request, #3794: URL: https://github.com/apache/cxf/pull/3794
URIResolver.checkAllowedScheme only checked the outer scheme of a URL, so an archive URL such as jar:ftp://host/a.jar!/a.xsd passed because "jar" is allowed, and the archive was then fetched over a scheme that is not allowed. Add URIResolver.isAllowedReference and getDisallowedScheme, which check every scheme of a reference, including the location of jar:/wsjar:/zip: archives, without needing the reference to parse as a URI. A relative reference is checked against its base URI. checkAllowedScheme now uses the same check, which covers its callers: URIResolver, StaxUtils, the MTOM AttachmentUtils and CryptoLoader. Default behaviour for http and https is unchanged, as they are allowed schemes. -- 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]
