Skip to content

Commit c5e5753

Browse files
committed
Merge pull request #8 from JLarky/master
webmachine_request_bridge:uri/1 should return full url with qureysrting
2 parents 81a9eec + 9a39ff0 commit c5e5753

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/webmachine_bridge_modules/webmachine_request_bridge.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ path(Req) ->
3232
wrq:path(Req).
3333

3434
uri(Req) ->
35-
RawPath = wrq:raw_path(Req),
36-
{_, QueryString, _} = mochiweb_util:urlsplit_path(RawPath),
37-
QueryString.
35+
wrq:raw_path(Req).
3836

3937
peer_ip(Req) ->
4038
{ok, Address} = inet_parse:address(wrq:peer(Req)),

0 commit comments

Comments
 (0)