diff options
author | Jan Lehnardt <jan@apache.org> | 2010-05-19 21:59:02 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-05-19 21:59:02 +0000 |
commit | b4460c1941978b867c448115e4e270a31243263b (patch) | |
tree | a609f139a1042775b4989a05967db9458659c643 /src/couchdb/couch_httpd_rewrite.erl | |
parent | 75f22af1b3cf80af11af6bda875fcd68b831e1f2 (diff) |
Unused variable.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd_rewrite.erl')
-rw-r--r-- | src/couchdb/couch_httpd_rewrite.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_rewrite.erl b/src/couchdb/couch_httpd_rewrite.erl index c1869b5e..4c783e15 100644 --- a/src/couchdb/couch_httpd_rewrite.erl +++ b/src/couchdb/couch_httpd_rewrite.erl @@ -381,7 +381,7 @@ path_to_list([<<"..">>|R], Acc, DotDotCount) when DotDotCount == 2 -> 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; |