[TYPO3-dev] ABout pi_getPageLink(..) usage of & and & in the URL

Steffen Kamper steffen at dislabs.de
Mon Dec 18 08:53:35 CET 2006


Hi Ries,

"R. van Twisk" <typo3 at rvt.dds.nl> schrieb im Newsbeitrag 
news:mailman.24390.1166409544.21325.typo3-dev at lists.netfielders.de...
> Hey Guys,
>
> I noticed that the function pi_getPageLink(..) returns
> get-params in this form
>
> index.php?id=23&param=12&param2=56
>
> instead of
>
> index.php?id=23&amp;param=12&amp;param2=56
>
> The function implodeArrayForUrl(..) seems to be responsible
> for the parameter handling. However that function
> uses & to concat each parameter instead of &amp;
>
> My coffee friend Dmitry mentioned that here (I think) on bugtrack
> as well here : http://bugs.typo3.org/view.php?id=772
> However that bugs was closed.
> It was also mentioned here :
> (closed) http://bugs.typo3.org/view.php?id=948
>
> However on 4.0.3 I still see that the 'bug' is there,
> or did I miss something in the useage of pi_getPageLink(...)
>
>
> After when I get my link from pi_getPageLink am I suppose
> to take care of proper urlencoding correctly, or should the functions
> take care of that?
>
>
AFAIK this is not done by any link funktion but by the method
xhtml_cleaning = all

so this is a post-method

vg  Steffen


> Ries
>
>
>
>
> -- 
> Ries van Twisk
> Freelance Typo3 Developer
> === Private:
> email: ries at vantwisk.nl
> web:   http://www.rvantwisk.nl/freelance-typo3.html
> skype: callto://r.vantwisk
>
> 






More information about the TYPO3-dev mailing list