diff --git a/typo3/sysext/linkvalidator/Classes/Linktype/ExternalLinktype.php b/typo3/sysext/linkvalidator/Classes/Linktype/ExternalLinktype.php index 3849d3e461ad25906558e35eb51cd624a437f388..66af0487e4714c5f7d968805dcd6d7938d52326a 100644 --- a/typo3/sysext/linkvalidator/Classes/Linktype/ExternalLinktype.php +++ b/typo3/sysext/linkvalidator/Classes/Linktype/ExternalLinktype.php @@ -14,6 +14,7 @@ namespace TYPO3\CMS\Linkvalidator\Linktype; * The TYPO3 project - inspiring people to share! */ +use GuzzleHttp\Cookie\CookieJar; use GuzzleHttp\Exception\TooManyRedirectsException; use TYPO3\CMS\Core\Http\RequestFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; @@ -66,7 +67,7 @@ class ExternalLinktype extends AbstractLinktype } $options = array( - 'cookies' => true, + 'cookies' => GeneralUtility::makeInstance(CookieJar::class), 'allow_redirects' => ['strict' => true] );