Skip to content

Commit

Permalink
fix deny cc uri
Browse files Browse the repository at this point in the history
  • Loading branch information
loveshell committed Dec 10, 2013
1 parent 340283a commit 8063e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ end

function denycc()
if CCDeny then
local uri=ngx.var.request_uri
local uri=ngx.var.uri
CCcount=tonumber(string.match(CCrate,'(.*)/'))
CCseconds=tonumber(string.match(CCrate,'/(.*)'))
local token = getClientIp()..uri
Expand Down

0 comments on commit 8063e99

Please sign in to comment.