[Mono-dev] [PATCH] Bug 356537 - old bug in CookieContainer
Rulatir
rulatir at wp.pl
Fri May 23 18:40:55 EDT 2008
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
--
View this message in context: http://www.nabble.com/-PATCH--Bug-356537---old-bug-in-CookieContainer-tp17442176p17442176.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list