Project

General

Profile

Actions

Bug #21537

closed

tslib_cObj.getTypoLink_URL create wrong links

Added by Björn Paulsen over 14 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-11-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions #1

Updated by Alexander Opitz almost 11 years ago

  • 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)?

Actions #2

Updated by Riccardo De Contardi almost 11 years ago

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

Actions #3

Updated by Alexander Opitz almost 11 years ago

Maybe same problem like #18551 ?

Actions #4

Updated by Riccardo De Contardi almost 11 years ago

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

Actions #5

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to New

The problem is the splitting on the whitespace, so we need something like quoting.

Actions #6

Updated by Mathias Schreiber over 9 years ago

  • Status changed from New to Closed
  • Is Regression set to No

URLs simply may not contain whitespace :)

Actions

Also available in: Atom PDF