mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[fix] Remove SSO DEBUG
This commit is contained in:
parent
8433de3fe2
commit
f92ab60b39
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ ngx.header["X-SSO-WAT"] = "You've just been SSOed"
|
|||
|
||||
-- Quick fix for CVE-2019-11043 about php-fpm and nginx
|
||||
local loweruri = string.lower(ngx.var.uri)
|
||||
ngx.header["X-SSO-DEBUG"] = loweruri
|
||||
if string.match(loweruri, "\n") or string.match(loweruri, "\r") then
|
||||
return ngx.exit(ngx.HTTP_FORBIDDEN)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue