From 5aa8de11f492147e474a3575dfea48809435c55a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 22 Jan 2023 12:00:16 +0100 Subject: [PATCH] =?UTF-8?q?Update=20version=20on=20user=20agent=20used=20t?= =?UTF-8?q?o=20validate=20URLs=C3=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/Core/src/Util/UrlValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Core/src/Util/UrlValidator.php b/module/Core/src/Util/UrlValidator.php index 0057660a..8a7d0b89 100644 --- a/module/Core/src/Util/UrlValidator.php +++ b/module/Core/src/Util/UrlValidator.php @@ -26,7 +26,7 @@ class UrlValidator implements UrlValidatorInterface, RequestMethodInterface { private const MAX_REDIRECTS = 15; private const CHROME_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) ' - . 'Chrome/51.0.2704.103 Safari/537.36'; + . 'Chrome/108.0.0.0 Safari/537.36'; public function __construct(private ClientInterface $httpClient, private UrlShortenerOptions $options) {