From 9d817f50d21fbe745c439ca476b25b141ec88087 Mon Sep 17 00:00:00 2001 From: cetcondor <40753639+cetcondor@users.noreply.github.com> Date: Fri, 6 Aug 2021 02:17:36 +0200 Subject: [PATCH] Less suspicious user agent Updates the user agent string to a less problematic one, fixes issue #17 . --- src/Favicon/DataAccess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Favicon/DataAccess.php b/src/Favicon/DataAccess.php index e006970..46a497b 100644 --- a/src/Favicon/DataAccess.php +++ b/src/Favicon/DataAccess.php @@ -42,7 +42,7 @@ private function setContext() 'max_redirects' => 1, 'timeout' => 10, 'header' => 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0; Favicon; ' . - '+https://github.com/ArthurHoaro/favicon) Gecko/20100101 Firefox/32.0\r\n', + '+https://github.com/ArthurHoaro/favicon) Gecko/20100101 Firefox/78.0', ] ] );