In fact, the EFF themselves seem to support the idea of handling redirects that would have been handled just fine by the server:<br><br><rule from="^http://([^@:/]+)\.wik(ipedia|inews|isource|ibooks|iquote|iversity|tionary)\.org/w/index\.php\?title=" to="<a href="https://secure.wikimedia.org/wik$2/$1/wiki/">https://secure.wikimedia.org/wik$2/$1/wiki/</a>"/><br>
<br>They could have simply left this one up to the rule above:<br><br><rule from="^http://([^@:/]+)\.wik(ipedia|inews|isource|ibooks|iquote|iversity|tionary)\.org/(w|wiki)/" to="<a href="https://secure.wikimedia.org/wik$2/$1/$3/">https://secure.wikimedia.org/wik$2/$1/$3/</a>"/><br>
<br>The really weird thing is that this isn’t even a redirect. <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Main_Page">https://secure.wikimedia.org/wikipedia/en/wiki/Main_Page</a> is in fact an internal redirect to <a href="https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Main_Page">https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Main_Page</a> – as far as your browser is concerned, these are completely separate URLs that happen to return identical pages. So redirecting to the more elegant URL seems bad, both for HTTPS Everywhere and the Wikimedia servers.<br>
<br><div class="gmail_quote">On Wed, Dec 29, 2010 at 0524 (UTC-8), Drake, Brian <span dir="ltr"><<a href="mailto:brian2@drakefamily.tk">brian2@drakefamily.tk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
[snip]<br>Still considering the first example, I’m not saying that HTTPS Everywhere needs to intercept requests to <a href="https://www.domain/" target="_blank">https://www.domain/</a> and redirect them to <a href="https://domain/" target="_blank">https://domain/</a>, but that it would often be beneficial. At worst, it would speed things up a little (assuming the server would have returned a redirect anyway); at best, it would prevent a cert error.<br>

[snip]<br>
<br><div class="gmail_quote">On Wed, Dec 29, 2010 at 0322 (UTC-8),  <span dir="ltr"><<a href="mailto:https-everywhere@lists.grepular.com" target="_blank">https-everywhere@lists.grepular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">
<div>On 28/12/2010 2234 (UTC-8), Drake, Brian wrote:<br>
<br>
> Rules are often of the form:<br>
><br>
> <rule from="^http://(www\.)?domain/" to="<a href="https://domain/" target="_blank">https://domain/</a>"/><br>
><br>
> or<br>
><br>
> <rule from="^http://(www\.)?domain/" to="<a href="https://www.domain/" target="_blank">https://www.domain/</a>"/><br>
><br>
> Not only do these rules redirect to HTTPS, they potentially change the<br>
> rest of the address too. Presumably that’s because <a href="https://www.domain/" target="_blank">https://www.domain/</a><br>
> would ultimately redirect to <a href="https://domain/" target="_blank">https://domain/</a> anyway (for the first form)<br>
> or <a href="https://domain/" target="_blank">https://domain/</a> would ultimately redirect to <a href="https://www.domain/" target="_blank">https://www.domain/</a><br>
> anyway (for the second form).<br>
<br>
</div>[snip]<br>
<div><br>
> In that case, why not change “http” to “https?” in the “from” values to<br>
> save a request to the server when <a href="https://domain/" target="_blank">https://domain/</a> (for the first form)<br>
> or <a href="https://www.domain/" target="_blank">https://www.domain/</a> (for the second form) is requested? The benefit<br>
> would far outweight the cost, I think.<br>
<br>
</div>[snip]<a href="https://domain/" target="_blank"></a><br>
<br>
Are you suggesting that if somebody goes to <a href="https://www.domain/" target="_blank">https://www.domain/</a> it<br>
should also handle redirecting to <a href="https://domain/" target="_blank">https://domain/</a> rather than leaving<br>
the server to do it? I'm not sure if the code even looks at https<br>
requests? I can't see a reason why it would need to.<br>
</div></div><font color="#888888"><br>
--<br>
Mike Cardwell [snip]</font><br></blockquote></div><font color="#888888"><br>--</font><div><div></div><div class="h5"><br>Brian Drake<br>[snip]<br>All content created by me Copyright © 2010 Brian Drake. All rights reserved.<br>

</div></div></blockquote></div><br>--<br>Brian Drake<br><br>Alternate (slightly less secure) e-mail: <a href="mailto:brian@drakefamily.tk" target="_blank">brian@drakefamily.tk</a><br>Alternate (old) e-mail: <a href="mailto:brianriab@gmail.com" target="_blank">brianriab@gmail.com</a><br>
<br>Facebook profile: <a href="https://ssl.facebook.com/profile.php?id=100001669405117" target="_blank">Profile ID 100001669405117</a><br>
Twitter username: <a href="https://twitter.com/BrianJDrake" target="_blank">BrianJDrake</a><br>Wikimedia project username: <a href="https://secure.wikimedia.org/wikipedia/meta/wiki/User:Brianjd" target="_blank">Brianjd</a> (been inactive for a while)<br>
<br>All content created by me Copyright © 2010 Brian Drake. All rights reserved.<br>