[Mono-bugs] [Bug 323247] [Regression] UriBuilder.ToString() does not append Fragment property.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Nov 6 14:56:59 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=323247#c5
Gert Driesen <gert.driesen at pandora.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gert.driesen at pandora.be
Status|RESOLVED |REOPENED
Resolution|FIXED |
Summary|[PATCH] UriBuilder.ToString() does not append |[Regression] UriBuilder.ToString() does not
|Fragment property. |append Fragment property.
--- Comment #5 from Gert Driesen <gert.driesen at pandora.be> 2007-11-06 12:56:57 MST ---
Part of this patch caused a regression in ASP.NET:
We no longer initialize Uri.Query to a zero-length string on the 2.0 profile,
however the test case below shows that Query is still initialized to
string.Empty by default:
using System;
class Program
{
static void Main (string [] args)
{
UriBuilder b = new UriBuilder ();
b.Scheme = "http";
b.Host = "127.0.0.1";
b.Port = 80;
Console.WriteLine ("#A:" + (b.Query == null));
b = new UriBuilder ("http", "127.0.0.1");
Console.WriteLine ("#B:" + (b.Query == null));
}
}
Expected result:
#A:False
#B:False
Actual result:
#A:True
#B: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