No title Revision 363565306533 (Thu Sep 10 2009 at 21:34) - Diff Link to this snippet: https://friendpaste.com/5iB7rxvilb4TM1EKwUzOwR Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 12345678910111213diff --git a/src/couchdb/couch_httpd_oauth.erl b/src/couchdb/couch_httpd_oauth.erlindex ee79c79..3bfe52e 100644--- a/src/couchdb/couch_httpd_oauth.erl+++ b/src/couchdb/couch_httpd_oauth.erl@@ -144,7 +144,7 @@ serve_oauth(#httpd{mochi_req=MochiReq}=Req, Fun, FailSilently) -> couch_httpd:send_error(Req, 400, <<"invalid_consumer">>, <<"Invalid consumer (key or signature method).">>); Consumer -> Signature = proplists:get_value("oauth_signature", Params),- URL = couch_httpd:absolute_uri(Req, MochiReq:get(path)),+ URL = couch_httpd:absolute_uri(Req, MochiReq:get(raw_path)), Fun(URL, proplists:delete("oauth_signature", Params), Consumer, Signature) end