mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-09 13:35:31 +00:00
Add test to ensure request url contains "?" only when explicitly specified in the url
This commit is contained in:
@@ -43,6 +43,10 @@ else if ($test === 'request_method') {
|
||||
echo $request_method;
|
||||
exit;
|
||||
}
|
||||
else if ($test === 'request_uri') {
|
||||
echo $_SERVER['REQUEST_URI'];
|
||||
exit;
|
||||
}
|
||||
|
||||
header('Content-Type: text/plain');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user