[tor-bugs] #2645 [EFF-HTTPS Everywhere]: HTTPS Everywhere 0.9.4 ignores rulesets with XML declaration

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Mar 1 23:22:35 UTC 2011


#2645: HTTPS Everywhere 0.9.4 ignores rulesets with XML declaration
----------------------------------+-----------------------------------------
 Reporter:  cypherpunks           |          Owner:  pde
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:     
Component:  EFF-HTTPS Everywhere  |        Version:     
 Keywords:                        |         Parent:     
   Points:                        |   Actualpoints:     
----------------------------------+-----------------------------------------
 Rulesets starting with an XML declaration (c.f. http://www.w3.org/TR/xml
 /#sec-prolog-dtd ) are silently ignored by HTTPS Everywhere 0.9.4.

 For example:

 <?xml version="1.0" encoding="utf-8"?>
 <ruleset name="Newit.co.uk">
   <target host="newit.co.uk"/>
   <target host="www.newit.co.uk"/>
   <rule from="^http://(www\.)?newit\.co\.uk\b"
 to="https://www.newit.co.uk"/>
 </ruleset>

 With the XML declaration, no HTTP->HTTPS redirection takes place, and the
 ruleset isn't listed in the add-on preferences. Remove the declaration and
 it works.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2645>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list