Author: Seth Schoen <[email protected]> Date: Thu, 11 Nov 2010 12:52:20 -0800 Subject: change . to [^@:/] which is more what we meant Commit: 07ac7bbb5d23ccc9237dce9126b7ddcdb5d4b179
also gets rid of the warning about unescaped dots from my validation script. it's probably actually the case that we virtually never actually need to use . in the sense of "any character" in an HTTPS Everywhere regular expression... --- src/chrome/content/rules/Twitter.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/chrome/content/rules/Twitter.xml b/src/chrome/content/rules/Twitter.xml index ec7129a..e27f15e 100644 --- a/src/chrome/content/rules/Twitter.xml +++ b/src/chrome/content/rules/Twitter.xml @@ -20,5 +20,5 @@ <rule from="^http://(www\.)?twitter\.com/" to="https://twitter.com/"/> <rule from="^http://(search|static|api)\.twitter\.com/" to="https://$1.twitter.com/"/> - <rule from="^http://[a-z0-9].?\.twimg\.com/" to="https://s3.amazonaws.com/twitter_production/"/> + <rule from="^http://[a-z0-9][^@:/]?\.twimg\.com/" to="https://s3.amazonaws.com/twitter_production/"/> </ruleset> -- 1.7.1
