Uri.OriginalString is a bit misleading since it's computed for merged URI
authorSebastien Pouliot <sebastien@ximian.com>
Mon, 20 Sep 2010 20:23:31 +0000 (16:23 -0400)
committerSebastien Pouliot <sebastien@ximian.com>
Mon, 20 Sep 2010 21:07:52 +0000 (17:07 -0400)
commitffc80ca37d0c7d61ae36df6c619538ffbaf01ccb
tree8b62ee915f79571ac1bac238ac8bd46a43366b53
parent03b24a9f616ebe79b0f2294806ccc09b650d332f
Uri.OriginalString is a bit misleading since it's computed for merged URI

* System/Uri.cs: Compute the expected OriginalString when an absolute
URI is merged with a (String or Uri) relative Uri to create a new Uri
instance. Keep original fragment around for ToString

* Test/System/UriTest2.cs: Add test cases for Fragment and Query when
special characters are used. Most of them are not escaped in ToString
* Test/System/UriTest3.cs: Uncomment an Assert that is now fixed.
mcs/class/System/System/Uri.cs
mcs/class/System/Test/System/UriTest2.cs
mcs/class/System/Test/System/UriTest3.cs