mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
browsers are beginning to remove the useragent from request headers
This commit is contained in:
@@ -38,6 +38,9 @@ if (!in_array($Document, VALID_PAGE)) {
|
||||
$_SERVER['SCRIPT_FILENAME'] = 'error.php';
|
||||
$Error = 404;
|
||||
}
|
||||
if (!isset($_SERVER['HTTP_USER_AGENT'])) {
|
||||
$_SERVER['HTTP_USER_AGENT'] = '[no-useragent]';
|
||||
}
|
||||
|
||||
// 3. Do we have a viewer?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user