[HTTPS-Everywhere] add googlecode.com to GoogleServices.xml
Seth David Schoen
schoen at eff.org
Sun Oct 17 21:53:21 PDT 2010
Eitan Adler writes:
> >
> > What sort of stuff are you trying to redirect? The above rule doesn't
> > work for me. Compare:
>
> When you click on "view raw file" it sends you to a googlecode.com website
> example: http://google-web-toolkit.googlecode.com/svn/2.1.0.RC1/eclipse/plugin/3.4/site.xml
Changing the rule to
<rule from="^http://www.googlecode.com/$"
to="https://code.google.com/" />
<rule from="^http://([^/:@]*)\.googlecode.com/$"
to="https://code.google.com/p/$1/" />
<rule from="^http://([^/:@]*)\.googlecode.com/(.+)"
to="https://$1.googlecode.com/$2" />
seems to address both cases correctly and I've made that change in e-l-r.
--
Seth Schoen
Senior Staff Technologist schoen at eff.org
Electronic Frontier Foundation https://www.eff.org/
454 Shotwell Street, San Francisco, CA 94110 +1 415 436 9333 x107
More information about the HTTPS-everywhere
mailing list