Having problems with redirect function in weblib.php while using FireFox 1.0 on Mac OSX.
On redirects where I pass a url like http://www.site.com/?var=x&var2=3 FireFox says that I passed var and amp;var2.
I found that this line seems to be at fault:
echo "<script>location.replace('$url');</script>"; // To cope with Mozilla bug
I commented it out and the redirect works fine in FireFox.
I tried the line from 1.5:
"\n"."location.replace('$url');". "\n". '//-->'. "\n".
And it still doesn't seem to work.
Anyone have an idea to fix this problem?
General developer forum
function redirect broken in FireFox
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.