-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query parameter value with ":" (colon) is not encoded #1102
Labels
Comments
This appears to be an issue with our URI template encoding. I'll mark it as a bug and related it to #1019 |
kdavisk6
added a commit
to kdavisk6/feign
that referenced
this issue
Dec 26, 2019
Fixes OpenFeign#1123, Fixes OpenFeign#1133, Fixes OpenFeign#1102 Ensures that all expressions are fully-encoded before being manipulated during template expansion. This allows parameters to include reserved values and result in properly encoded results. Additionally, `Iterable` values are now handled in accordance with RFC 6570 allowing for the specified `CollectionFormat` to be applied correctly.
kdavisk6
added a commit
to kdavisk6/feign
that referenced
this issue
Dec 26, 2019
Fixes OpenFeign#1123, Fixes OpenFeign#1133, Fixes OpenFeign#1102, Fixes OpenFeign#1028 Ensures that all expressions are fully-encoded before being manipulated during template expansion. This allows parameters to include reserved values and result in properly encoded results. Additionally, `Iterable` values are now handled in accordance with RFC 6570 allowing for the specified `CollectionFormat` to be applied and empty parameters to be expanded correctly as this is the main use case that exhibited this issue.
kdavisk6
added a commit
to kdavisk6/feign
that referenced
this issue
Dec 27, 2019
Fixes OpenFeign#1123, Fixes OpenFeign#1133, Fixes OpenFeign#1102, Fixes OpenFeign#1028 Ensures that all expressions are fully-encoded before being manipulated during template expansion. This allows parameters to include reserved values and result in properly encoded results. Additionally, `Iterable` values are now handled in accordance with RFC 6570 allowing for the specified `CollectionFormat` to be applied and empty parameters to be expanded correctly as this is the main use case that exhibited this issue.
kdavisk6
added a commit
that referenced
this issue
Dec 27, 2019
* Ensure Iterable values are encoded before template expansion Fixes #1123, Fixes #1133, Fixes #1102, Fixes #1028 Ensures that all expressions are fully-encoded before being manipulated during template expansion. This allows parameters to include reserved values and result in properly encoded results. Additionally, `Iterable` values are now handled in accordance with RFC 6570 allowing for the specified `CollectionFormat` to be applied and empty parameters to be expanded correctly as this is the main use case that exhibited this issue.
velo
pushed a commit
that referenced
this issue
Oct 7, 2024
* Ensure Iterable values are encoded before template expansion Fixes #1123, Fixes #1133, Fixes #1102, Fixes #1028 Ensures that all expressions are fully-encoded before being manipulated during template expansion. This allows parameters to include reserved values and result in properly encoded results. Additionally, `Iterable` values are now handled in accordance with RFC 6570 allowing for the specified `CollectionFormat` to be applied and empty parameters to be expanded correctly as this is the main use case that exhibited this issue.
velo
pushed a commit
that referenced
this issue
Oct 8, 2024
* Ensure Iterable values are encoded before template expansion Fixes #1123, Fixes #1133, Fixes #1102, Fixes #1028 Ensures that all expressions are fully-encoded before being manipulated during template expansion. This allows parameters to include reserved values and result in properly encoded results. Additionally, `Iterable` values are now handled in accordance with RFC 6570 allowing for the specified `CollectionFormat` to be applied and empty parameters to be expanded correctly as this is the main use case that exhibited this issue.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
with openfeign 10.2.3
query parameter value with ":" is not encoded , e.g. "url=http://toto.com" produces "url=http:%2F%2Ftoto.com" instead of "url=http%3A%2F%2Ftoto.com".
what i understand from rfc3986 section 2.2 is that ":" should be encoded
Note that ":" was encoded in openfeign 10.1.0.
Seems related to refactor done in
FragmentType
UriUtils.javaThe text was updated successfully, but these errors were encountered: