DefaultEncoder / getCanonicalizedURI returns mix encoding for HTML special characters

Discussed in #823

Originally posted by krog78 January 19, 2024

Hi,

DefaultEncoder / getCanonicalizedURI returns mix encoding for HTML special characters in query string (and does not seem to canonicalize the parameter value despite the fact it is mentionned):

//In the case of a uri query, we need to break up and canonicalize the internal parts of the query.

And the canonicalize is applied to scheme, host, port and also UriSegment.SCHEMSPECIFICPART, is it really relevant?

Thanks,
Regards,
Sylvain