mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Update version on user agent used to validate URLsç
This commit is contained in:
@@ -26,7 +26,7 @@ class UrlValidator implements UrlValidatorInterface, RequestMethodInterface
|
|||||||
{
|
{
|
||||||
private const MAX_REDIRECTS = 15;
|
private const MAX_REDIRECTS = 15;
|
||||||
private const CHROME_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) '
|
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)
|
public function __construct(private ClientInterface $httpClient, private UrlShortenerOptions $options)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user