On 11.05.2023 12:57, Johan Blumenberg wrote:
Hi,

I believe that there is a bug in the org.apache.hc.core5.net.URIBuilder class, 
it is not converting + characters to spaces. This is working in 
org.apache.http.client.utils.URIBuilder.
...

The URI spec (RFC 3986) does not define any structure for the query
part. So with respect to layering and conformance, *parsing* the query
part isn't really something a pure URI component should do.

What you're looking for is support for the query parameter syntax that
is essentially defined by what the HTML spec defines as query parameters
(where indeed a "+" represents a space). That kind of parsing IMHO
should happen in a separate component (which would only consume the raw
query part of the URI).

Best regards, Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to