Follow redirect not working

Bug reports and enhancement requests
Post Reply
keybounce
Posts: 16
Joined: Fri Nov 20, 2009 10:06 pm

Follow redirect not working

Post by keybounce »

Over on wikipedia, I found this link:
http://www.cpp.com/detail/detailprod.asp?pc=16

Going there with Noscript turned on gave me a "Blocked redirect". When I said to follow redirect, I got an error message with code backtrace from the web server.

When I said "Temporarily allow all this page", and tried again, I got a 404 error page.

Something is different between the original request following the redirection, and the noscript "Blocked" following redirection.
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Follow redirect not working

Post by Giorgio Maone »

Nope, nothing is broken except that page.
The link you've shown us uses a <META> redirect to send you to https://www.cpp.com/_layouts/spsredirec ... noscript=1, which is supposed to be a page warning you about having scripts disabled.
This landing page (which per se is an idiotic way to handle script disablement, hence NoScript's "Forbid <META>..." feature) is itself broken, but it's not NoScript's fault. You can verify by disabling JavaScript in any other browser, including IE, and try to follow your link. You'll receive the same error message.

Even worse, the original page itself is broken: in fact, the "real" content you get when scripts are enabled is

Code: Select all

  <script language="javascript">
	STSNavigate("/en/404.aspx")
     </script>
which sends you straight to a 404 error page. Clever uh?

Again, nothing broken in NoScript.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Post Reply