[Typo3-dev] html-entities encoded twice when using linkSingle and pi_openAtagHrefInJSwindow
Gernott
kremser79 at gmx.at
Tue Dec 20 16:13:31 CET 2005
Robert Fink schrieb:
> Hi!
>
> When using pi_list_linkSingle or similar in combination with
> pi_openAtagHrefInJSwindow to create a link that pops up a new window, the
> html-entities in the URL are encode twice (once by each function). This will
> convert & to & which is not actually useful and destroys the
> getparams.
>
> This bug occured in RC1 and RC2. I solved it by just removing the
> htmlencode-call from pi_openAtagHrefInJSwindow in
> tslib/class.tslib_pibase.php, which is of course not more thaan a hack,
> because it might breake the links, someone creates only using
> pi_openAtagHrefInJSwindow without linkSingle.
>
> Any suggestions?
>
> tausende küsse (mindestens!),
> robert
>
try this:
$this->pi_openAtagHrefInJSwindow(html_entity_decode($MyLink),......
More information about the TYPO3-dev
mailing list