Преглед на файлове

use unparsed_uri instead of uri in lua when matching the url

Tobias von Dewitz преди 7 години
родител
ревизия
77ef291143
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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!")
   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
   end