View Single Post
Old 01-09-2005, 06:16 PM   #6
revenazb
Green Mole
 
Join Date: Jan 2005
Posts: 3
Thanks for the help,

I have identified the problem. It is not in the regular expressions above but in the function rewrite urls were the following line

$url = @parse_url(str_replace('\'"','',$eval));

Should be replace with

list($url['path'], $url['query']) = split("\?", str_replace('\'"','',$eval));

What happens is the parse_url function interprets the firs colon in the path and therefore messes up.
Using the split funtion fixes this problem.

Hope this helps someone else
revenazb is offline   Reply With Quote