Skip to content

Commit

Permalink
Query parameters were not included in netty URI (eclipse-ee4j#4393)
Browse files Browse the repository at this point in the history
* Query parameters were not included in netty URI

Signed-off-by: Jorge Bescos Gascon <[email protected]>

(cherry picked from commit 706c01c)
Signed-off-by: Jan Supol <[email protected]>
  • Loading branch information
jbescos authored and senivam committed Apr 22, 2020
1 parent b725a49 commit b3382be
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,14 @@ private String buildPathWithQueryParameters(URI requestUri) {
}
}

private String buildPathWithQueryParameters(URI requestUri) {
if (requestUri.getRawQuery() != null) {
return String.format("%s?%s", requestUri.getRawPath(), requestUri.getRawQuery());
} else {
return requestUri.getRawPath();
}
}

@Override
public String getName() {
return "Netty 4.1.x";
Expand Down

0 comments on commit b3382be

Please sign in to comment.