[UNRELATED] JS redirection failure with WebFOCUS BI tool

Ask for help about NoScript, no registration needed to post
IByte
Posts: 5
Joined: Fri Aug 17, 2012 8:26 am
Location: The Netherlands
Contact:

[UNRELATED] JS redirection failure with WebFOCUS BI tool

Post by IByte »

Hello team,

at the place where I work, we use a Business Intelligence product called WebFOCUS (I'm not fond of it, but that's a different matter). One of the things we built with it is a web application in which the user makes a few selections on an HTML form, submits it, and gets a generated PDF report in an IFRAME. However, the redirect that is supposed to take the user to the document has stopped working with recent versions of NoScript. The IFRAME gets stuck on a page that has no visual elements, but only a few JavaScript redirects that do not appear to be executed any more. They do work if I uninstall NoScript, as well as in IE 7 and Chrome 21.

Here's the code in the IFRAME that gets stuck, which I suspect holds the problem:

Code: Select all

<HTML>
              <Head>
                <Title>WebFOCUS Report</Title>
                
                <Script Language="JavaScript">
                <!--
                 function getrep()
                     {
                   if(parseInt(window.navigator.appVersion,10)<4)
                     location.assign("/ibi_apps/WFServlet?PG_REQTYPE=REDIRECT&PG_MRsaved=false&PG_Func=GETBINARY&PG_File=tghpvhsn.pdf");
                   else
                     location.replace("/ibi_apps/WFServlet?PG_REQTYPE=REDIRECT&PG_MRsaved=false&PG_Func=GETBINARY&PG_File=tghpvhsn.pdf");
                 } //-->
             </Script></Head>
             <body onload="getrep()"></BODY>
           </HTML>
Here's a description of the rest of my environment:
Windows XP SP3
Firefox 14.0.1 en-GB
Problem occurs in: NoScript 2.5.1 (latest stable)
Problem occurs in: NoScript 2.5.2.rc1 (latest dev)
Microsoft ISA Server (authenticating proxy)

Any help would be appreciated, thanks in advance!
Creator of the IsAdmin and Infocon Watcher Firefox add-ons
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
IByte
Posts: 5
Joined: Fri Aug 17, 2012 8:26 am
Location: The Netherlands
Contact:

Re: JavaScript redirection failure with WebFOCUS BI tool

Post by IByte »

Er, forget it, it just started working again, for no discernible reason... Did I mention I dislike this BI tool? I'll be back if it breaks again.
Creator of the IsAdmin and Infocon Watcher Firefox add-ons
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3377
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: JavaScript redirection failure with WebFOCUS BI tool

Post by GµårÐïåñ »

I was about to say that it should work fine as long as the page is allowed and now its working for you, so its moot. And yes you mentioned how much you hate it ;) Feel free to let us know if something else comes up.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
IByte
Posts: 5
Joined: Fri Aug 17, 2012 8:26 am
Location: The Netherlands
Contact:

Re: [UNRELATED] JS redirection failure with WebFOCUS BI tool

Post by IByte »

Yes, it should work fine, but it stopped working again, halting at the redirection page. It's not like I changed anything... The problem description above applies. And yes, the page/server is white-listed, of course.

I'm not sure whether the problem is caused by WebFOCUS or NoScript, but as I said, the page works in other browsers.
Creator of the IsAdmin and Infocon Watcher Firefox add-ons
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3377
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: [UNRELATED] JS redirection failure with WebFOCUS BI tool

Post by GµårÐïåñ »

Try something for me, I am just curious if that might be it, although I highly doubt it. Check the following:
  1. Check NoScript Options|Embeddings Tab|Apply these restrictions to whitelisted sites too and see if it is checked or not.
  2. If checked then goto Advanced Tab|Untrusted Tab|Attempt to fix JavaScript links and uncheck it, try now see what happens.
  3. If unchecked then goto Advanced Tab|XSS Tab|Sanitize cross-site suspicious requests & Turn cross-site POST requests into data-less GET requests and temporarily uncheck both of them, try now see what happens.
Those are the only things I can think of right now. Also can you try in a clean profile with JUST NoScript installed to make sure that some other addon is not interfering also. Thanks.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
IByte
Posts: 5
Joined: Fri Aug 17, 2012 8:26 am
Location: The Netherlands
Contact:

Re: [UNRELATED] JS redirection failure with WebFOCUS BI tool

Post by IByte »

OK, I'll try it tomorrow when I'm at work, thanks. I think I tried the JavaScript links one already, though.

I also wondered whether the PDF Download add-on was causing problems, but disabling it does not seem to solve it. Time for more testing.
Creator of the IsAdmin and Infocon Watcher Firefox add-ons
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3377
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: [UNRELATED] JS redirection failure with WebFOCUS BI tool

Post by GµårÐïåñ »

Ok, also it would be great if you could do it in a clean profile with JUST NoScript to eliminate other addons as a problem. We might be focused on something that is not even an issue. If it worked alone, then you can add the addons back one at a time until you hit the one that breaks it, aka "Standard Diagnostics", and then you know your culprit.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
IByte
Posts: 5
Joined: Fri Aug 17, 2012 8:26 am
Location: The Netherlands
Contact:

Re: [UNRELATED] JS redirection failure with WebFOCUS BI tool

Post by IByte »

Well, it turns out I have been barking up the wrong tree after all. The PDF Download add-on was the one causing the problem. What confused me at first was that upon uninstalling, it was not properly restoring Firefox's plug-in handling preferences for PDFs (under Options -> Applications).

Thanks for working with me on this one!
Creator of the IsAdmin and Infocon Watcher Firefox add-ons
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3377
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: [UNRELATED] JS redirection failure with WebFOCUS BI tool

Post by GµårÐïåñ »

Glad we got it figured out, you are welcome. That's what we are here for. Good luck.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Post Reply