[HTTPS-E Rulesets] (Probably) dumb question - automatic sub-domain wildcard prepending?
Peter Eckersley
pde at eff.org
Thu Sep 22 21:58:41 PDT 2011
On Thu, Sep 22, 2011 at 09:14:15PM -0700, Whizz Mo wrote:
> I noticed that some files (e.g. ripe.net.xml, tv.com.xml) list only the
> second-level domain in their "target host" lines, but include "rule from"
> values that reference specific third level domains. Does HTTPS Everywhere
> automatically prepend '*' to target host lines?
Yes, this is a bug. Extra levels of domains are prepended only if the target
host has a * as its leftmost portion.
>
> Example:
> <ruleset name="TV.com">
> <target host="tv.com" />
> <rule from="^http://tv\.com/" to="https://www.tv.com/"/>
> <rule from="^http://www\.tv\.com/" to="https://www.tv.com/"/>
> </ruleset>
>
>
> Proposed change:
> <ruleset name="TV.com">
> <target host="www.tv.com" />
> <target host="tv.com" />
> <rule from="^http://(www\.)?tv\.com/" to="https://www.tv.com/"/>
> </ruleset>
>
>
> Thanks,
> Whizz Mo
--
Peter Eckersley pde at eff.org
Technology Projects Director Tel +1 415 436 9333 x131
Electronic Frontier Foundation Fax +1 415 436 9993
More information about the HTTPS-Everywhere-Rules
mailing list