Skip to content

Commit a687239

Browse files
committed
Put back loadFlags
1 parent 0f88821 commit a687239

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/chrome/content/code/ChannelReplacement.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,12 @@ ChannelReplacement.prototype = {
8888
// By removing this flag, we allow Flash to see the "originalURI" attirubte of newChan,
8989
// which contains the HTTP (non-HTTPS) URL that Flash requested before HTTPS-Everywhere
9090
// redirected the channel.
91-
//
91+
// XXX: May have unintended side effects. Needs more investigation.
92+
//
9293
// newChan.loadFlags = loadFlags | newChan.LOAD_REPLACE;
9394

95+
newChan.loadFlags = loadFlags;
96+
9497
if (!(newChan instanceof Ci.nsIHttpChannel))
9598
return this;
9699

0 commit comments

Comments
 (0)