[TYPO3-english] Check URL validity

Gregory Loichot gloichot at cross-systems.com
Tue Nov 23 11:05:17 CET 2010


Ok,

I'll check that. Thanks !

Le 22. 11. 10 20:32, Jigal van Hemert a écrit :
> Hi,
>
> On 22-11-2010 17:24, Gregory Loichot wrote:
>> My question is : is it possible (via a TYPO3 function) to check that the
>> url contained in "source" parameter belongs to the TYPO3 site (and not
>> to an other external url) ?
>
> You can find inspiration in tx_felogin_pi1::validateRedirectUrl(). This
> function uses a couple of helper functions to determine that the url
> which was passed belongs to the current installation.
>



More information about the TYPO3-english mailing list