[TYPO3-core] FYI: Fixed formURL issue in fe_adminLib.inc
Franz Holzinger
franz at fholzinger.com
Thu Feb 23 21:29:46 CET 2006
Hello Ingmar,
>the following trivial bugfix is already in CVS.
>
>Problem:
>In templates for fe_adminLib.inc the formurl marker is used like
>###FORM_URL###&cmd=edit which doesn't work if the URL didn't contain a
>"?" question mark (like in simulStatic- or RealURLs).
>
>Solution: Append a question mark if the URL doesn't contain one yet.
>
>This fixes typo3.org bug #2563.
>
>
>
The same thing you will find in every extension using URLs as markers.
So I think the typoLink function should provide this feature as a paramter.
However "###FORM_URL###&cmd=edit" translated into "index.php?&cmd=edit"
would still be wrong.
The '&' must get htmlspecialchared.
You have to parse the &cmd=edit after the ###FORM_URL### and provide the string until the first space character as additional new paramter to the Typo-link function.
Franz
More information about the TYPO3-team-core
mailing list