[HTTPS-E Rulesets] Fwd: Java download HTTPS

Artyom Gavrichenkov ximaera at gmail.com
Mon Nov 7 08:36:38 PST 2011


Hi all,

Date: Tue, 25 Oct 2011 09:46:33 +0200
From: ' ' <smyrl-94 at hotmail.com>
To: <https-everywhere at eff.org>
Subject: Java download HTTPS
> HTTPS at the java.com website makes it impossible to download Java.
> Ruleset should be disabled by default IMO.

At some point during the download process, https://www.java.com/
makes a redirect to https://www.java.com:80/ , which obviously
cannot be fulfilled. Here is a patch to fix this.

| Artyom Gavrichenkov
| gpg: fa1c670e
| mailto: ximaera at gmail.com
| xmpp: ximaera at gmail.com
| skype: xima_era
| tel. no: +7 916 515 49 58

-- Signed-off-by: Artyom Gavrichenkov <ximaera at gmail.com>

diff --git a/src/chrome/content/rules/Java.xml
b/src/chrome/content/rules/Java.xml
index ccd9623..b2d35c3 100644
--- a/src/chrome/content/rules/Java.xml
+++ b/src/chrome/content/rules/Java.xml
@@ -2,5 +2,6 @@
   <target host="java.com" />
   <target host="www.java.com" />

-  <rule from="^http://(?:www\.)?java\.com/" to="https://www.java.com/"/>
+  <rule from="^http://(?:www\.)?java\.com(?::80)?/" to="https://www.java.com/"/>
+  <rule from="^https://(?:www\.)?java\.com:80/" to="https://www.java.com/"/>
 </ruleset>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.eff.org/pipermail/https-everywhere-rules/attachments/20111107/396c442e/attachment.sig>


More information about the HTTPS-Everywhere-Rules mailing list