Do not allow + sign when specifying the port of an URI
authorSebastien Pouliot <sebastien@ximian.com>
Tue, 21 Sep 2010 19:51:00 +0000 (15:51 -0400)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 22 Sep 2010 01:21:12 +0000 (21:21 -0400)
commitfcfe00816ba95dc5ad2afe86acb8793903eed331
treea1ce8d1010ecd96b71c4949277046363a778b367
parent202156dfe21d0faf3858da450b45a472be1f8cc0
Do not allow + sign when specifying the port of an URI

* System/Uri.cs: A bit more strict when parsing the port number

* Test/System/UriTest2.cs: Add test cases with different, mostly
invalid, ports (e.g. negative, float, too big...)
mcs/class/System/System/Uri.cs
mcs/class/System/Test/System/UriTest2.cs