coheigea opened a new pull request, #3803:
URL: https://github.com/apache/cxf/pull/3803
…ions
- In the last-resort fallback of EndpointReferenceUtils'
SchemaLSResourceResolver, check an import with
URIResolver.isAllowedReference before resolving it, and return an empty
input for a blocked import. Returning null is not enough: a SchemaFactory
that does not support ACCESS_EXTERNAL_SCHEMA, such as Apache Xerces, then
fetches the URL itself, so e.g. a jar:ftp:// import that URIResolver
refuses was still fetched by Xerces. Default behaviour for http and https
is unchanged, as they are allowed schemes.
- Log at SEVERE, naming the service, when the schema cannot be built, as
schema validation is then not performed for the service.
- AbstractWrapperWSDLLocator now uses URIResolver.getDisallowedScheme, so its
check is no longer skipped for an import location that does not parse as
a URI (e.g. ftp://host/a b.xsd), and the location of an archive is checked
too. Relative imports are still not checked against their parent, which
has already been checked, so that e.g. relative imports from an OSGi
bundle:// WSDL keep working.
--
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]