ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

version <30, IE and Chrome all accept URL. Version 31 gives NS_ERROR_MALFORMED_URI.

more options

A URL like newWin.document.location = "ReportViewer.aspx?BGC=009F51&SecondsToWait=240&Src=../WebDataAccess/Exports/4b2c025f57df48ef843436cc3f33b941"; works fine in IE, Chrome and Firefox < 31 but fails with NS_ERROR_MALFORMED_URI in Firefox 31.

A URL like newWin.document.location = "ReportViewer.aspx?BGC=009F51&SecondsToWait=240&Src=../WebDataAccess/Exports/4b2c025f57df48ef843436cc3f33b941"; works fine in IE, Chrome and Firefox < 31 but fails with NS_ERROR_MALFORMED_URI in Firefox 31.

All Replies (3)

more options

The parsing of URLs could have changed.

Does the actual code have the protocol and host name in the URL, e.g.,

newWin.document.location = "http://www.example.com/ReportViewer.aspx?etc.";
more options

No, http://www.example.com is not part of the URL. The URL is being sent from the window that opened this one. The other browsers and the previous FF versions seemed to understand how to deal with that. I tried adding the protocol and host to the URL and now version 31 responds correctly. I guess I’ll have to modify my code to account for your improvement(?), or suggest my customers use another browser.

Your post was sort of helpful since I can correct the problem with FF's changes but I wonder how many other WEB sites were also broken.

more options

I tried to search for the source of this change last week but didn't find it in the bug tracking system. I'm assuming it was intentional, but if the pattern of using a relative URL is widespread, then you or someone else affected by the change, could file a new bug to address it.