Actions
Bug #20920
closedparse_url error
Start date:
2009-08-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In some configuratins there are error messages like "Unable to parse URL" in the logfile. This is because tslib_fe->checkAlternativeIdMethods() calls parse_url($this->siteScript). This works in most cases, but not if wrong urls with // like http://domain.tld//path are requested. We had this in our logfiles caused by scripts searching for security vulnerabilities.
The simple solution is to add TYPO3_SITE_URL to make sure parse_url() gets a valid url.
(issue imported from #M11778)
Files
Updated by Benni Mack over 14 years ago
Please reply to the Core list reply of mine.
Actions