Explorar o código

use unparsed_uri instead of uri in lua when matching the url

Tobias von Dewitz %!s(int64=7) %!d(string=hai) anos
pai
achega
77ef291143
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lua/scw.lua

+ 1 - 1
lua/scw.lua

@@ -38,7 +38,7 @@ function scw(r)
     r:err("SCW_IGNORE is not set!")
     r:err("SCW_IGNORE is not set!")
   end
   end
 
 
-  if ignore ~= nil and regex.match(r.uri, ignore) then
+  if ignore ~= nil and regex.match(r.unparsed_uri, ignore) then
     return apache2.DECLINED
     return apache2.DECLINED
   end
   end