https://bugzilla.novell.com/show_bug.cgi?id=386727
Summary: CookieContainer doesn't produce a valid cookie header
Product: Mono: Class Libraries
Version: SVN
Platform: i686
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Development
When using a HttpWebRequest with a cookie container, like in the following code
:
HttpWebRequest request = (HttpWebRequest)WebRequest.create(new
Uri("http://example.com/"));
request.CookieContainer = someCookieContainer;
the resulting request sent to the http server will contain a Cookie header with
each cookie separated by a semicolon, like the following example :
Cookie: cookie1=value1;cookie2=value2;cookie3=value3
Whereas the expected result is to see the cookies separated by a semicolon AND
a space, like the following example :
Cookie: cookie1=value1; cookie2=value2; cookie3=value3
Some web servers will simply ignore the cookies, other will handle the problem.
I discovered this bug because the cookies were simply ignored by IIS/5.0 (I got
a page "Please activate the cookies").
--
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs