couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r946435 - /couchdb/branches/0.11.x/src/couchdb/couch_httpd_rewrite.erl
Date Wed, 19 May 2010 21:59:23 GMT
Author: jan
Date: Wed May 19 21:59:22 2010
New Revision: 946435

URL: http://svn.apache.org/viewvc?rev=946435&view=rev
Log:
Unused variable.

Modified:
    couchdb/branches/0.11.x/src/couchdb/couch_httpd_rewrite.erl

Modified: couchdb/branches/0.11.x/src/couchdb/couch_httpd_rewrite.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/src/couchdb/couch_httpd_rewrite.erl?rev=946435&r1=946434&r2=946435&view=diff
==============================================================================
--- couchdb/branches/0.11.x/src/couchdb/couch_httpd_rewrite.erl (original)
+++ couchdb/branches/0.11.x/src/couchdb/couch_httpd_rewrite.erl Wed May 19 21:59:22 2010
@@ -367,7 +367,7 @@ path_to_list([<<"..">>|R], Acc, DotDotCo
     case couch_config:get("httpd", "secure_rewrites", "true") of
     "false" ->
         path_to_list(R, [<<"..">>|Acc], DotDotCount+1);
-    Else ->
+    _Else ->
         ?LOG_INFO("insecure_rewrite_rule ~p blocked", [lists:reverse(Acc) ++ [<<"..">>]
++ R]),
         throw({insecure_rewrite_rule, "too many ../.. segments"})
     end;



Mime
View raw message