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

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.