[TYPO3-core] FYI: Fixed bug #6576: typolink.addQueryString adds &= to the URL if QUERY_STRING is empty

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun May 18 14:55:08 CEST 2008


Hi!

Problem: when using typolink.addQueryString with the default methode 
using QUERY_STRING an empty &= will be added if no QUERY_STRING is 
present (ie on the start page of a domain). This is unclean and may lead 
to an invalid cHash.

Solution: check if QUERY_STRING is empty before exploding the string.

I have committed this nobrainer to TYPO3_4-2.

Masi


More information about the TYPO3-team-core mailing list