Skip to content

Commit

Permalink
Merge pull request #8 from JLarky/master
Browse files Browse the repository at this point in the history
webmachine_request_bridge:uri/1 should return full url with qureysrting
  • Loading branch information
choptastic committed Sep 21, 2011
2 parents 81a9eec + 9a39ff0 commit c5e5753
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/webmachine_bridge_modules/webmachine_request_bridge.erl
Expand Up @@ -32,9 +32,7 @@ path(Req) ->
wrq:path(Req).

uri(Req) ->
RawPath = wrq:raw_path(Req),
{_, QueryString, _} = mochiweb_util:urlsplit_path(RawPath),
QueryString.
wrq:raw_path(Req).

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

0 comments on commit c5e5753

Please sign in to comment.