[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
Tue Feb 24 01:44:50 EST 2009


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

User gonzalo at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=421827#c5


Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gonzalo at novell.com




--- Comment #5 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-02-23 23:44:49 MST ---
Mmm, the patch does not look good...

I would say that it gives false 'positives'.
For example given domain = 'google.com' and host = 'mygoogle.com',
       string subdomain = host.Substring (host.Length - domain.Length);

sudomain would be google.com which would return 'true'

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


More information about the mono-bugs mailing list