diff --git a/typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php b/typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php index 4a6e235..34d7acb 100644 --- a/typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php +++ b/typo3/sysext/linkvalidator/classes/linktypes/class.tx_linkvalidator_linktypes_external.php @@ -63,7 +63,9 @@ class tx_linkvalidator_linkTypes_External extends tx_linkvalidator_linkTypes_Abs // get the header $content = ''; - $content = t3lib_div::getURL($url, 2, FALSE, $report); + $content = t3lib_div::getUrl($url, 2, FALSE, $report); $tries = 0; while (($report['http_code'] == 301 || $report['http_code'] == 302 @@ -71,7 +73,7 @@ class tx_linkvalidator_linkTypes_External extends tx_linkvalidator_linkTypes_Abs && ($tries < 5)) { $isCodeRedirect = preg_match('/Location: (.*)/', $content, $location); if (isset($location[1])) { - $content = t3lib_div::getURL($location[1], 2, FALSE, $report); + $content = t3lib_div::getUrl($location[1], 2, FALSE, $report); } $tries++; } diff --git a/typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validate.php b/typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validate.php index dd23bb2..16d8faf 100644 --- a/typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validate.php +++ b/typo3/sysext/linkvalidator/classes/tasks/class.tx_linkvalidator_tasks_validate.php @@ -66,7 +66,7 @@ class tx_linkvalidator_tasks_Validate extends tx_scheduler_Task { $this->setCliArguments(); $file = t3lib_div::getFileAbsFileName($this->emailfile); - $htmlFile = t3lib_div::getURL($file); + $htmlFile = t3lib_div::getUrl($file); $this->templateMail = t3lib_parsehtml::getSubpart($htmlFile, '###REPORT_TEMPLATE###'); // The array to put the content into