Skip to content

Commit

Permalink
Fix #74, use the raw path instead of decoded path when setting URI on…
Browse files Browse the repository at this point in the history
… netty request. (#75)
  • Loading branch information
utwyko authored and smaldini committed Apr 26, 2017
1 parent 9278bc1 commit 85ffc5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public Publisher<Void> apply(NettyInbound in, NettyOutbound out) {
host = host + ':' + port;
}
ch.getNettyRequest()
.setUri(uri.getPath() + (uri.getQuery() == null ? "" :
.setUri(uri.getRawPath() + (uri.getQuery() == null ? "" :
"?" + uri.getRawQuery()))
.setMethod(parent.method)
.setProtocolVersion(HttpVersion.HTTP_1_1)
Expand Down

0 comments on commit 85ffc5f

Please sign in to comment.