[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #8652 [EFF-HTTPS Everywhere]: Google Maps local_url exclusion
#8652: Google Maps local_url exclusion
----------------------------------+-----------------------------------------
Reporter: kenyon | Owner: pde
Type: defect | Status: new
Priority: normal | Milestone:
Component: EFF-HTTPS Everywhere | Version: HTTPS-E 3.1.4
Keywords: | Parent:
Points: | Actualpoints:
----------------------------------+-----------------------------------------
Clicking on a link in Google Maps which starts with
http://maps.google.com/local_url gets redirected to the https version,
which results in an error 400 from Google. This patch fixes the ruleset.
Patch also attached as a file.
{{{
From e1c5af6dba40ebf3718763518e6d6ce555603f85 Mon Sep 17 00:00:00 2001
From: Kenyon Ralph <kenyon@xxxxxxxxxxxxxxx>
Date: Fri, 5 Apr 2013 22:49:52 -0700
Subject: [PATCH] [GoogleMaps] exclude http://maps.google.com/local_url
These URLs return error 400 if rewritten to https, so exclude them.
---
src/chrome/content/rules/GoogleMaps.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/chrome/content/rules/GoogleMaps.xml
b/src/chrome/content/rules/GoogleMaps.xml
index e04bb60..c7afc7b 100644
--- a/src/chrome/content/rules/GoogleMaps.xml
+++ b/src/chrome/content/rules/GoogleMaps.xml
@@ -11,6 +11,8 @@
-->
<exclusion
pattern="^http://maps\.googleapis\.com/map(?:files/lib/map_1_20\.swf|sapi/publicapi\?file=flashapi)"
/>
<exclusion
pattern="^http://maps\.google\.gr/transitathens" />
+ <exclusion pattern="^http://maps\.google\.com/local_url"
/>
+
<target host="maps.gstatic.com" />
@@ -31,4 +33,4 @@
<rule
from="^https://maps\.googleapis\.com/map(files/lib/map_1_20\.swf|sapi/publicapi\?file=flashapi)"
to="http://maps.googleapis.com/map$1" downgrade="1" />
-</ruleset>
\ No newline at end of file
+</ruleset>
--
1.7.10.4
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8652>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs