Get ready for some strangeness. The following works fine in Firefox:
Redirecting to this URL:
http://localhost/webs/van/front-end/slr/edit_rule.php?rule_name=test&rule_type=alloc_ext©=1
However, it does not work in IE8 since it converts the above to this, note the copyright symbol in the address at the end:
http://localhost/webs/van/front-end/slr/edit_rule.php?rule_name=test&rule_type=alloc_ext©=1
So, I thought weird, lets just encodeURIComponent
to this:
window.location.href = 'edit_rule.php%3Frule_name%3Dtest%26rule_type%3Dalloc_ext%26copy%3D1';
BOTH, Firefox and IE8 now give me a Forbidden message!?!
You don't have permission to access /webs/van/front-end/slr/edit_rule.php? rule_name=test2&rule_type=alloc_ext©=1 on this server.
I don't understand, what is going on?
Thanks all for any help.