Skip to content

CXF-8822: AsyncHTTPConduit removes query-parameters when path is empty#1158

Merged
reta merged 1 commit intoapache:mainfrom
reta:CXF-8822
Mar 18, 2023
Merged

CXF-8822: AsyncHTTPConduit removes query-parameters when path is empty#1158
reta merged 1 commit intoapache:mainfrom
reta:CXF-8822

Conversation

@reta
Copy link
Member

@reta reta commented Mar 7, 2023

AsyncHTTPConduit removes query-parameters when path is empty

//hc needs to have the path be "/"
uri = new URI(uri.getScheme(),
uri.getUserInfo(), uri.getHost(), uri.getPort(),
uri.resolve("/").getPath(), uri.getQuery(),
Copy link
Member Author

@reta reta Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URI::resolve strips the query string off

@reta reta merged commit 3b0690f into apache:main Mar 18, 2023
reta added a commit that referenced this pull request Mar 18, 2023
reta added a commit that referenced this pull request Mar 18, 2023
#1158)

(cherry picked from commit 3b0690f)
(cherry picked from commit a45ef08)
reta added a commit that referenced this pull request Mar 18, 2023
#1158)

(cherry picked from commit 3b0690f)
(cherry picked from commit a45ef08)
(cherry picked from commit 7e693ae)

# Conflicts:
#	rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant