google-code-export / candydolldb

Automatically exported from code.google.com/p/candydolldb
0 stars 0 forks source link

HTTP-referrer redirect doesn't work in IE #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using IE, visit any page with a cache-clean button
2. Click the button and wait for the referrer-redirect
3. Be redirected to the fallback-URL (index.php)

What is the expected output? What do you see instead?
One would expect to be redirected to the page with the button.

Original issue reported on code.google.com by fwp...@gmail.com on 28 Jan 2012 at 7:33

GoogleCodeExporter commented 9 years ago
It is a known fact that IE does not send the HTTP-header called HTTP-REFERER, 
which is used in CandyDollDB UI-less pages like the cache-cleaning scripts.

As for now, this problem is not being pursued actively. Use of a non-IE browser 
is recommended.

Original comment by fwp...@gmail.com on 28 Jan 2012 at 7:38

GoogleCodeExporter commented 9 years ago
In r570, a possible fix has been built into HtmlStuff::RefererRegister. When 
called with $_SERVER['REQUEST_URI'], it should behave as a referrer. Please 
test, especially in IE.

Original comment by fwp...@gmail.com on 16 Jul 2012 at 9:13

GoogleCodeExporter commented 9 years ago
Based on your expected output, it works for me in it's original form. By 
visiting model_view.php or set_view.php and clicking any of the clear cache 
buttons, both IE 32bit & 64bit on Windows 7 redirects me to the same page, and 
not to the index.php.

Original comment by mranimos...@gmail.com on 17 Jul 2012 at 1:25

GoogleCodeExporter commented 9 years ago

Original comment by fwp...@gmail.com on 17 Jul 2012 at 1:49