https://bugzilla.novell.com/show_bug.cgi?id=323247#c5


Gert Driesen <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
             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 <[EMAIL PROTECTED]>  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to