Stripped PMA version from curl user-agent to increase consitency and security
Signed-off-by: Fenn-CS <fenn25.fn@gmail.com>
This commit is contained in:
parent
c60da70ecd
commit
2849c0cff8
@ -4760,7 +4760,7 @@ class Util
|
||||
);
|
||||
}
|
||||
}
|
||||
$curl_status &= curl_setopt($curl_handle, CURLOPT_USERAGENT, 'phpMyAdmin/' . PMA_VERSION);
|
||||
$curl_status &= curl_setopt($curl_handle, CURLOPT_USERAGENT, 'phpMyAdmin');
|
||||
|
||||
if ($method != "GET") {
|
||||
$curl_status &= curl_setopt($curl_handle, CURLOPT_CUSTOMREQUEST, $method);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user