Page 1 of 1

Follow redirect not working

Posted: Sun May 16, 2010 6:05 pm
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.

Re: Follow redirect not working

Posted: Sun May 16, 2010 6:38 pm
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.