We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

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.

Všetky odpovede (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.