Opera and IE9 try to download cacheHandler.php
...rather than calling redirect.php and starting the redirection to the external site when clicking on a link. Firefox and Chrome don't seem to experience this problem. The only ways to get to the link via Opera or IE9, is 1. opening the resulting file in notepad and copying the url from there or 2. going to the store in question and searching for the offer manually (which means not using the cheapshark-referral-link) All the threads I found regarding this issue after a quick google-search suggested, that such a problem is probably server-side and to do with permissions on the scripts in question or the configuration of the php-installation. Maybe something can be done about it.
Comments (4)
-
-
repo owner Thanks a lot for letting me know about this, you are the first to report this very critical bug!
I tracked it down to a change I made to the cacheHandler which added a default content type of utf-8. While this worked fine with Chrome/Firefox, it seems to break in IE/Opera. It forces a content type of ONLY utf-8, instead of utf-8 encoded HTML/JSON/etc.
I've removed this content-type header, and it looks like everything should be good now. I'll wait to hear back from you with a confirmation to close the bug. Thanks again for the heads up, good find!
-
Wow, that was fast. It's working for me in both IE and in Opera now. Thanks a lot for the quick fix and keep on the good work with the site, it's really helpful. :)
-
repo owner - changed status to resolved
IE/Opera links now work as expected. Thanks u_u_
- Log in to comment
Quick followup: The server returns data of the type "application/octet-stream", which prompts the download-dialogue. Setting the default_mimetype in php.ini to text/html could help.