[Mono-bugs] [Bug 421827] [PATCH] CookieContainer.GetCookie skips cookie when domain has no leading dot

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 17 11:26:38 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=421827

User gert.driesen at pandora.be added comment
http://bugzilla.novell.com/show_bug.cgi?id=421827#c11


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #11 from Gert Driesen <gert.driesen at pandora.be>  2009-05-17 09:26:34 MDT ---
I've done some more tests, and apparently MS only returns cookies without a
leading dot in the domain name if the host name exactly matches that domain
name.

Another difference between Mono and MS is that we always include $Domain in the
generated cookie header (for cookies that conform to RFC 2109), while MS only
does this if the host name differs from the domain name. Let me know if you
want me to submit a separate bug report for this.

I've added a bunch more tests to CookieContainerTest, some of which fail
because of these issues. These are currently marked NotWorking.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list