You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is problem for opaque URI (e.g. URN) where there is no path and such call throws NullPointerException.
This path check seems unnecessary as normalization use only scheme, scheme specific part and fragment of URI (not path).
Please verify check and normalization correlation. Or maybe just NPE aid will do the thing.
Thanks
The text was updated successfully, but these errors were encountered:
regfaker
changed the title
Schema redirect - opaque URI strange validation - URIUtils
Schema redirect - opaque URI strange check - URIUtils
Nov 14, 2018
URIUtils schema URI checker used for URITranslatorConfigurationBuilder.addSchemaRedirect() checks path of URI not ending with slash.
json-schema-core/src/main/java/com/github/fge/jsonschema/core/util/URIUtils.java
Line 201 in 8934db5
This is problem for opaque URI (e.g. URN) where there is no path and such call throws NullPointerException.
This path check seems unnecessary as normalization use only scheme, scheme specific part and fragment of URI (not path).
json-schema-core/src/main/java/com/github/fge/jsonschema/core/util/URIUtils.java
Line 143 in 8934db5
Please verify check and normalization correlation. Or maybe just NPE aid will do the thing.
Thanks
The text was updated successfully, but these errors were encountered: