[TYPO3-english] Check URL validity
Jigal van Hemert
jigal at xs4all.nl
Mon Nov 22 20:32:49 CET 2010
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.
--
Kind regards / met vriendelijke groet,
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-english
mailing list