mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Remove invalid characters from REQUEST_URI
This commit is contained in:
parent
b62a1322c9
commit
109203d12b
3 changed files with 11 additions and 3 deletions
|
|
@ -917,7 +917,7 @@ function getScriptPath()
|
|||
*/
|
||||
function getRequestUriByServerEnviroment()
|
||||
{
|
||||
return escape($_SERVER['REQUEST_URI']);
|
||||
return preg_replace('/[<>"]/', '', $_SERVER['REQUEST_URI']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue