Oh, I didn’t realise that the pattern you object to is being used, in some places, to match top-level domains. In those places, yes, that is bad, as it could (in theory, at least) match domains that aren’t even controlled by Google.<br>

<br>While we’re talking about narrowing down the rules, why use clients[0-9] when the <target> elements only go from 1 to 5? Isn’t this inefficient (by creating more work for the regex engine)?<br><br><div class="gmail_quote">

On Fri, Dec 24, 2010 at 0154 (UTC-8), Drake, Brian <span dir="ltr"><<a href="mailto:brian2@drakefamily.tk" target="_blank">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;">

Such misspelled URLs are going to be accessed anyway, whether or not we catch them. Even the request or response for a misspelled URL can contain information that you would not want others to see. Everything should be over HTTPS, unless there’s a good reason for it not to be.<br>


[snip]<br><br><div class="gmail_quote"><div>On Thu, Dec 23, 2010 at 2327 (UTC-8), Osama Khalid <span dir="ltr"><<a href="mailto:osamak@gnu.org" target="_blank">osamak@gnu.org</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>In Google.xml and GoogleServices.xml, "[^/@:]" is used to match<br>

language codes. Language codes[0] consists of two letters. Numbers and<br>
other spacial characters are not included.<br>
<br>
I wonder if we should use the standard '[a-zA-Z]' to match all<br>
letters and to avoid catching misspelled URLs.<br>
<br>
[0]: <a href="http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes" target="_blank">http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes</a><br>
</div><font color="#888888"><br>
--Osama Khalid<br>[snip]<a href="https://mail1.eff.org/mailman/listinfo/https-everywhere" target="_blank"></a><br>
</font></blockquote></div><br>--<br>Brian Drake<br>[snip]<br>All content created by me Copyright © 2010 Brian Drake. All rights reserved.<br>
</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>