Project

General

Profile

Actions

Bug #20920

closed

parse_url error

Added by Joh. Feustel over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
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

11778.diff (798 Bytes) 11778.diff Administrator Admin, 2009-08-24 17:19
Actions #1

Updated by Benni Mack about 14 years ago

Please reply to the Core list reply of mine.

Actions

Also available in: Atom PDF