Update uri.php

This commit is contained in:
Namhyeon Go 2018-03-15 12:37:16 +09:00 committed by GitHub
parent 0176191952
commit ace8d505f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,7 @@ if(!function_exists("get_requested_value")) {
}
// set validated value
if(!empty($method)) {
$value = array_key_empty($name, $requests[$method]) ? $value : $requests[$method][$name];
// security: set escape quotes
@ -91,6 +92,7 @@ if(!function_exists("get_requested_value")) {
if($escape_tags == true) {
$value = htmlspecialchars($escape_tags);
}
}
return $value;
}