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
JDK version: Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)
OS: Ubuntu 23.10
Problem Description
We are observing a change in the way which Helidon 4 encodes query parameters. This seems to be related to changed implementation in Helidon 4 connector.
jvissers
changed the title
Query parameer encoding has changed in Helidon 4, helidon-connector related
Query parameter encoding has changed in Helidon 4, helidon-connector related
Jan 12, 2024
spericas
added a commit
to spericas/helidon
that referenced
this issue
Jan 12, 2024
…ctor from re-encoding and already encoded URI and (2) extends our URI decoder logic to support '+' which is used by Jersey to encode a space character. See issue helidon-io#8228.
…ctor from re-encoding and already encoded URI and (2) extends our URI decoder logic to support '+' which is used by Jersey to encode a space character. See issue helidon-io#8228.
spericas
added a commit
to spericas/helidon
that referenced
this issue
Jan 12, 2024
…ctor from re-encoding and already encoded URI and (2) extends our URI decoder logic to support '+' which is used by Jersey to encode a space character. See issue helidon-io#8228.
…ctor from re-encoding and already encoded URI and (2) extends our URI decoder logic to support '+' which is used by Jersey to encode a space character. See issue #8228. (#8232)
Environment Details
Problem Description
We are observing a change in the way which Helidon 4 encodes query parameters. This seems to be related to changed implementation in Helidon 4 connector.
Given the following:
Helidon 3 encodes query parameters as:
description desc, audit.createdBy asc
Whereas Helidon 4 results in:
description+desc,+audit.createdBy+asc
Steps to reproduce
Some reference material (thanks for @ljnelson for digging that up)
here's 4.0.2 where the connector translates to WebClient-speak: https://github.com/helidon-io/helidon/blob/4.0.2/jersey/connector/src/main/java/io/helidon/jersey/connector/HelidonConnector.java#L148-L157
here's where the 3.2.5 version does it: https://github.com/helidon-io/helidon/blob/3.2.5/jersey/connector/src/main/java/io/helidon/jersey/connector/HelidonConnector.java#L137-L174
HelidonConnector.java
The text was updated successfully, but these errors were encountered: