[TYPO3-core] RFC #0015658

Bjoern Pedersen bjoern.pedersen at frm2.tum.de
Tue Sep 7 17:51:03 CEST 2010


Hi,

This is a SVN patch request.

Type: Bugfix

BT reference: http://bugs.typo3.org/view.php?id=0015658
Branches: trunk

Problem:If for some reason $parts[0] is empty, an invalid expression is
passed to parse_url, resulting in an uncaught warning exception
(flooding sys_log).


Solution:
	The attached patch checks for non-emptiness before calling parse_url.

How to test:

As the reasons for the empty part[0] are not yet found, I do not have a
good plan to test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015658_parse_url.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100907/0e964cf6/attachment.bin>


More information about the TYPO3-team-core mailing list