Opened 7 years ago

Closed 7 years ago

#6499 closed defect (fixed)

zotero ACM Digital Library translator fails when HTTPS Everywhere is enabled

Reported by: kynan Owned by: pde
Priority: Medium Milestone:
Component: HTTPS Everywhere/EFF-HTTPS Everywhere Version:
Severity: Keywords:
Cc: florian.rathgeber@… Actual Points:
Parent ID: #3190 Points:
Reviewer: Sponsor:

Description

[Reporting here since the zotero devs claim it's not an issue at their end]

Saving from the ACM Digital Library using the Firefox Add-On zotero reliably fails when HTTPS Everywhere is enabled. There are no error messages reported to the console. The only relevant error log I could find was:

Timestamp: 24/07/12 09:50:18
Error: [Exception... "'Image HTTP->HTTPS redirection to https://dl.acm.org/images/ACM_mini.jpg' when calling method: [nsIContentPolicy::shouldLoad]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

Reproducible: always

Steps to reproduce:

  1. Enable the HTTPS Everywhere add-on
  2. Try saving any item from ACM Digital Library using zotero (e.g. https://dl.acm.org/citation.cfm?id=567085, but I tried various, it is *not* an item-specific issue)

Disabling HTTPS Everywhere (which is obviously not an option for me) reliably solves the issue.

Related discussion in the zotero forums:
http://forums.zotero.org/discussion/24404/

Child Tickets

Change History (6)

comment:1 Changed 7 years ago by kynan

Cc: florian.rathgeber@… added

comment:2 Changed 7 years ago by pde

The error message is a red herring; this is likely to be a ruleset bug.

comment:3 Changed 7 years ago by simonster

HTTPS Everywhere seems to break the following code:

var req = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance();
req.open("GET", "http://www.example.com/", false);
req.send(null);
alert("Done");

I get "TypeError: sink.asyncOnChannelRedirect is not a function", the alert never gets called, and Firefox hangs on shutdown. The problem appears to be that channel.notificationCallbacks.getInterface(Components.interfaces.nsIChannelEventSink) returns an XMLHttpRequest object that doesn't actually implement nsIChannelEventSink. Filed https://bugzilla.mozilla.org/show_bug.cgi?id=780529

comment:4 Changed 7 years ago by pde

Parent ID: #3190

Sorry, I didn't realise that Zotero was a Firefox extension. It is likely that this is an instance of #3190. Fortunately, we should have a fix for that in the works soon.

comment:5 Changed 7 years ago by pde

Hi kynan, we believe that a fix for this bug should hopefully now be in the mozilla central codebase. Is there any chance you could test this with today's Firefox nightly build?

comment:6 Changed 7 years ago by pde

Resolution: fixed
Status: newclosed

I believe this should be fixed in Firefox 20 and above. Please reopen if it is not.

Note: See TracTickets for help on using tickets.