[tor-bugs] #2398 [EFF-HTTPS Everywhere]: Useless rule in Wikipedia ruleset

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jan 17 07:51:44 UTC 2011


#2398: Useless rule in Wikipedia ruleset
----------------------------------+-----------------------------------------
 Reporter:  vbar                  |       Owner:  pde
     Type:  defect                |      Status:  new
 Priority:  trivial               |   Milestone:     
Component:  EFF-HTTPS Everywhere  |     Version:     
 Keywords:                        |      Parent:     
----------------------------------+-----------------------------------------
 <rule
 from="^http://([^@:/]+)\.wik(ipedia|inews|isource|ibooks|iquote|iversity|tionary)\.org/w/index\.php\?title="
           to="https://secure.wikimedia.org/wik$2/$1/wiki/"/>

 in Wikipedia.xml (of HTTPS Everywhere 0.9.2) doesn't match, apparently
 because

   <rule
 from="^http://([^@:/]+)\.wik(ipedia|inews|isource|ibooks|iquote|iversity|tionary)\.org/(w|wiki)/"
           to="https://secure.wikimedia.org/wik$2/$1/$3/"/>

 matches first. The matching rule does work, so it's probably not a big
 deal, but still the unused one takes up space - perhaps the rule sanity
 checks could be extended to catch this case?

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


More information about the tor-bugs mailing list