[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    Re: [Mono-dev] [PATCH] Bug 356537 - old bug in CookieContainer
From:       Gonzalo Paniagua Javier <gonzalo.mono () gmail ! com>
Date:       2008-05-28 22:17:47
Message-ID: 1212013067.5387.0.camel () lalo ! home
[Download RAW message or body]

On Fri, 2008-05-23 at 15:40 -0700, Rulatir wrote:
> Could someone pay attention (i.e. apply my patch) to bug 356537?
> CookieContainer mishandles the case when the server is the same as the
> domain, e.g. the website http://nasza-klasa.pl sets a cookie for the domain
> nasza-klasa.pl, resulting in a dot-prefixed ".nasza-klasa.pl" domain string
> in the cookie. The host.Length < domain.Length condition in CheckDomain()
> then holds, causing the cookie to be culled. The patch adds an explicit
> check for the case when the host string is the same as the domain string
> without leading dot.
> 
> http://www.nabble.com/file/p17442176/CookieContainer.patch
> CookieContainer.patch 

Patch applied.

-Gonzalo


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic