You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2010/05/19 23:59:23 UTC
svn commit: r946435 -
/couchdb/branches/0.11.x/src/couchdb/couch_httpd_rewrite.erl
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;