RequestPolicy/requestpolicy — Issue #107: 'Allow' fails for some redirects in firefox trunk
Author: jsamuel
Created: 2011-12-22 18:52:52+00:00
State: open
Labels: extension

imported trac ticket
created: 2010-05-18 08:48:53
reporter: justin

Using RP with Firefox built from mozilla-central (and so probably the nightlies, as well) results in problems allowing some redirects using the redirect notification's 'Allow' button.

Here's an example using http://ur1.ca/o

{{{
[RequestPolicy] [DEBUG] [INTERNAL] Checking for blocked content from page
[RequestPolicy] [DEBUG] [INTERNAL] Main document has rejected requests.
[RequestPolicy] [INFO] [INTERNAL] User allowed redirection from to
[RequestPolicy] [DEBUG] [CONTENT] shouldLoad() cache expired for result of -3 for request to from .
[RequestPolicy] [WARNING] [CONTENT] ** BLOCKED ** reason: hosts don't match. type: 6, destination: http://opendefinition.org/osd, origin: http://ur1.ca/o, context: [object XULElement @ 0x7fcc1f6dda90 (native @ 0x7fcc1be8f480)], mime: , null
[RequestPolicy] [DEBUG] [INTERNAL] Checking for blocked content from page
[RequestPolicy] [DEBUG] [INTERNAL] Main document has rejected requests.
JavaScript error: , line 0: uncaught exception: [Exception... "Component returned failure code: 0x805e0006 [nsIDOMLocation.href]" nsresult: "0x805e0006 ()" location: "JS frame :: chrome://requestpolicy/content/overlay.js :: anonymous :: line 369" data: no]
}}}

Thanks to Aleksej for reporting this.