https://bugzilla.novell.com/show_bug.cgi?id=346762
Summary: Request.Params.GetValues, difference between .NET and Mono Product: Mono: Class Libraries Version: SVN Platform: i686 OS/Version: RHEL 4 Status: NEW Severity: Normal Priority: P5 - None Component: Sys.Web AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] Found By: --- This is the test code: <%@ Page Language="C#" %> <html> <body> <% string[] P=Request.Params.GetValues("Pippo"); Response.Write("Lenght: "+P.Length+"<BR>"); for (int I=0;I<P.Length;I++) { Response.Write("P["+I+"]: "+P[I]+"<BR>"); } %> </body> </html> On .NET, with this URL: /TestVirgola.aspx?Pippo=ciao,ciao&Pippo=ciao I have: Lenght: 2 P[0]: ciao,ciao P[1]: ciao On Mono with the same URL I have: Lenght: 3 P[0]: ciao P[1]: ciao P[2]: ciao With Mono implementation I can't handle commas in URL with GetValues. In HttpParamsCollection.cs I found "return value.Split (',');" on "public override string [] GetValues (string name)". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs