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]>
  • Loading branch information
jbescos authored and senivam committed Apr 24, 2020
1 parent 66efec2 commit 4071474
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,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 4071474

Please sign in to comment.