[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #2398 [EFF-HTTPS Everywhere]: Useless rule in Wikipedia ruleset
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs