[or-cvs] [https-everywhere/master] Experimentally securecookie Bit.ly; fix Facebook

Robert Ransom rransom.8774 at gmail.com
Thu Nov 11 02:58:40 UTC 2010


On Thu, 11 Nov 2010 01:28:25 +0000 (UTC)
pde at torproject.org wrote:

> Author: Peter Eckersley <pde at eff.org>
> Date: Wed, 10 Nov 2010 17:26:35 -0800
> Subject: Experimentally securecookie Bit.ly; fix Facebook
> Commit: a7436a55fc2818ebe6ac096a8ee4d0ca7157468f
> 
> ---
>  src/chrome/content/code/HTTPS.js      |    2 +-
>  src/chrome/content/rules/Bitly.xml    |    5 +++++
>  src/chrome/content/rules/Facebook.xml |    8 ++++----
>  3 files changed, 10 insertions(+), 5 deletions(-)
> 
> diff --git a/src/chrome/content/code/HTTPS.js b/src/chrome/content/code/HTTPS.js
> index 3ac96f5..a8d4bb9 100644
> --- a/src/chrome/content/code/HTTPS.js
> +++ b/src/chrome/content/code/HTTPS.js
> @@ -163,7 +163,7 @@ const HTTPS = {
>        try {
>          var cookies = req.getResponseHeader("Set-Cookie");
>        } catch(mayHappen) {
> -        this.log(DBUG,"Exception huntting Set-Cookie in headers: " + mayHappen);
> +        this.log(VERB,"Exception huntting Set-Cookie in headers: " + mayHappen);

s/huntting/hunting/

>          return;
>        }
>        if (!cookies) return;
> diff --git a/src/chrome/content/rules/Bitly.xml b/src/chrome/content/rules/Bitly.xml
> index 71a415d..8ec0072 100644
> --- a/src/chrome/content/rules/Bitly.xml
> +++ b/src/chrome/content/rules/Bitly.xml
> @@ -6,7 +6,12 @@
>    <target host="j.mp" />
>    <target host="www.j.mp" />
>  
> +  <securecookie host="*.\.bit\.ly$" name=".*">

s/\*\./.*/


Robert Ransom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20101110/c6fbbb27/attachment.pgp>


More information about the tor-dev mailing list