[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



On Thu, 11 Nov 2010 01:28:25 +0000 (UTC)
pde@xxxxxxxxxxxxxx wrote:

> Author: Peter Eckersley <pde@xxxxxxx>
> 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

Attachment: signature.asc
Description: PGP signature