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:
Fenn-CS 2017-03-13 22:22:46 +01:00 committed by Michal Čihař
parent c60da70ecd
commit 2849c0cff8

View File

@ -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);