Fix to UriTemplate.Match to properly handle query parameters without a value. No...
authorDave Curylo <curylod@asme.org>
Sat, 31 Jan 2015 03:36:42 +0000 (22:36 -0500)
committerDave Curylo <curylod@asme.org>
Sat, 31 Jan 2015 12:21:03 +0000 (07:21 -0500)
commit7cbeed36fdd354f23ebfad6fda0915f96284665a
treef6542c4954953313158369a46d738cc08c53597d
parentd4077516edc36c38b26162cbb18a62392c519f6e
Fix to UriTemplate.Match to properly handle query parameters without a value.  No longer throws IndexOutOfRangeException and the parameter is added to the resulting UriTemplateMatch.QueryParameters field with a null value, same as in .NET.

This change is released under the MIT license.
mcs/class/System.ServiceModel.Web/System/UriTemplate.cs
mcs/class/System.ServiceModel.Web/Test/System/UriTemplateTest.cs