ffang commented on PR #3794: URL: https://github.com/apache/cxf/pull/3794#issuecomment-7220986636
Thanks @coheigea — checking the archive location makes sense. One regression though: Spring Boot 3.2+ fat jars expose classpath resources as `jar:nested:/app.jar/!BOOT-INF/lib/x.jar!/wsdl/a.xsd`, and `nested` is not in the default allowed schemes, so with this change `URIResolver` (and `StaxUtils`/`CryptoLoader`) now reject WSDLs/XSDs loaded from nested jars, including relative imports resolved against such a base. I reproduced it with a stand-in `nested:` handler: it resolves on main and fails here with `URL scheme 'nested' is not permitted for URIResolver`. Since `nested:` always refers to a local file, could it be added to `DEFAULT_ALLOWED_URL_SCHEMES`? Otherwise every Spring Boot 3.2+ user would need `-Dorg.apache.cxf.resource.uriresolver.allowedSchemes=nested` after upgrading. -- 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]
