Schema redirect - opaque URI strange check - URIUtils
regfaker opened this issue · 0 comments
regfaker commented
URIUtils schema URI checker used for URITranslatorConfigurationBuilder.addSchemaRedirect() checks path of URI not ending with slash.
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