Bug #21537
closed
tslib_cObj.getTypoLink_URL create wrong links
Added by Björn Paulsen about 15 years ago.
Updated almost 10 years ago.
Description
the function tslib_cObj.getTypoLink_URL cuted some parameters
An Example:
$this->cObj->getTypoLink_URL("http://www.domain.com/go?label=Some Label&k=zs1TQ8tCUXez26kuUapOoqrLT");
The function proceed this link
http://www.domain.com/go?label=Some
(issue imported from #M12569)
- Status changed from New to Needs Feedback
- Target version deleted (
0)
- TYPO3 Version set to 4.3
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
I've performed this test in TYPO3 6.1:
page.100=TEXT
page.100.value=AAAA
page.100.typolink.parameter=http://www.domain.com/go?label=Some Label&k=zs1TQ8tCUXez26kuUapOoqrLT
and the resulting URL is http://www.domain.com/go?label=Some
Maybe same problem like #18551 ?
Don't know if it is the same issue, but without the space in "Some Label" the url is correct.
I've also tried with:
page.100=TEXT
page.100.value=AAAA
page.100.typolink.parameter=http://www.domain.com/go?label=Some%20Label&k=zs1TQ8tCUXez26kuUapOoqrLT
and it works.
Thanks
- Status changed from Needs Feedback to New
The problem is the splitting on the whitespace, so we need something like quoting.
- Status changed from New to Closed
- Is Regression set to No
URLs simply may not contain whitespace :)
Also available in: Atom
PDF