Quote:
Originally Posted by oasi
The check would fail with the URL you posted, I know that this is not perfect :P
If you try to get a better security check for this please post it here to share it with us.
|
Hi Oasi -
I changed that check to:
PHP Code:
if (u.indexOf("http://maps.google.com/")!=0){return false;}
so the code has to include
http://maps.google.com/, not just
http://maps.google . Still not perfect, but a little better.