Commit Graph
24 Commits
Author SHA1 Message Date
Sebastien Pouliot b7c10a7c1d There's no need for those special NET_2_1 cases (not using NameValueCollection like MS) anymore and it fixes 7 S.SM.W unit tests failures for XI (e.g. case sensitiveness) 2014-01-14 10:11:21 -05:00
Rodrigo Kumpera de71901cf8 Kill the MOONLIGHT define in System.ServiceModel.Web. 2013-02-11 13:01:10 -05:00
Dave Ferguson 825c7a9b79 Fix UriTemplate.Match to work with escaped uris
Fixes bug 4793
2012-05-01 08:42:02 -04:00
Peter Johanson bb8d09d41d Fix Bug #658, allowing uri templates with no text preceding a wildcard. 2012-02-14 08:17:06 -05:00
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Atsushi Eno 78c5897e95 When there was no path parameter, it ignored the whole path part. 2011-08-24 12:02:38 -07:00
Atsushi Eno 77ed4bb435 Support named wildcard in UriTemplate matching. Fixed bug #693996. 2011-05-23 20:31:00 +09:00
Atsushi Eno 485259aae8 Do not take host part into consideration on comparing URLs.
It blocks access by different host name (e.g. localhost vs. IP).
This was part of bugfix #687580 (forgot to commit).
2011-05-13 21:52:31 +09:00
Atsushi Eno 312c9268b1 Prefer immutable string return for ease of debugging in UriTemplate. 2011-04-15 20:03:12 +09:00
Atsushi Eno 15d313b0e3 Fix regression for counter case to 6005f0a7.
http://localhost/x + X should not result in http://localhost/xX.
2011-04-15 16:37:58 +09:00
Atsushi Eno 60300f821d A bit less !NET_2_1 and !MOONLIGHT in Sys.ServiceModel.Web. 2011-04-02 04:10:09 +09:00
Marek Habersack 6005f0a7df [wcf] UriTemplate must trim the first leading slash in the rendered template.
When using BindBy{Name,Position} UriTemplate must remove the the first slash from
the rendered URI. This fixes the 4 failing tests.
2011-01-04 13:56:12 +01:00
Joe Dluzen c740b96462 Fix for #656021. 2010-12-04 17:27:15 -05:00
Atsushi Eno e276eefde2 this bug had nothing to do with it.
svn path=/trunk/mcs/; revision=157824
2010-05-25 05:54:52 +00:00
Atsushi Eno d006ca4a99 2010-05-25 Atsushi Enomoto <[email protected]>
* UriTemplate.cs : safe-unescape template parameters.
	  Got bug #573795 site working.


svn path=/trunk/mcs/; revision=157823
2010-05-25 05:43:00 +00:00
Atsushi Eno b5688b9e2d add experimental monotouch build.
svn path=/trunk/mcs/; revision=144701
2009-10-23 02:37:20 +00:00
Atsushi Eno cdd92159ec 2009-09-22 Atsushi Enomoto <[email protected]>
* UriTemplate.cs : Fix method signatures. Take care of dictionary
	  case sensitivity.

	* UriTemplateTest.cs : add test for case-insensitive comparison in
	  IDictionary, and test for null-value string in there.


svn path=/trunk/mcs/; revision=142428
2009-09-22 17:52:31 +00:00
Atsushi Eno 7dcf3d38a6 2009-09-17 Atsushi Enomoto <[email protected]>
* UriTemplateTable.cs : do not raise an error when MatchSingle() did
	  not result in any match. Match methods should reject empty table.

	* UriTemplateTableTest.cs : new test file.

	* System.ServiceModel.Web_test.dll.sources :
	  added UriTemplateTableTest.cs.


svn path=/trunk/mcs/; revision=142114
2009-09-17 14:44:26 +00:00
Atsushi Eno 1eb212f5cf 2008-09-07 Atsushi Enomoto <[email protected]>
* UriTemplate.cs, UriTemplateMatch.cs : add support for wildcard.

	* UriTemplateTest.cs : add test for wildcard.


svn path=/trunk/mcs/; revision=141410
2009-09-07 08:58:58 +00:00
Atsushi Eno d8cd2bea1a 2008-09-07 Atsushi Enomoto <[email protected]>
* UriTemplate.cs : implement IsEquivalentTo().
	* UriTemplateEquivalenceComparer.cs : implement.

	* UriTemplateEquivalenceComparerTest.cs : new test.

	* System.ServiceModel.Web_test.dll.sources :
	  added UriTemplateEquivalenceComparerTest.cs.


svn path=/trunk/mcs/; revision=141409
2009-09-07 08:21:16 +00:00
Atsushi Eno 401f5e15eb 2008-09-07 Atsushi Enomoto <[email protected]>
* UriTemplate.cs : add BindByName() overloads with Dictionary.


svn path=/trunk/mcs/; revision=141408
2009-09-07 08:09:13 +00:00
Atsushi Eno bc0a1d8633 2008-09-07 Atsushi Enomoto <[email protected]>
* UriTemplate.cs : implemented Defaults and IgnoreTrailingSlash.

	* UriTemplateTest.cs :
	  added tests for IgnoreTrailingSlash and Defaults.


svn path=/trunk/mcs/; revision=141405
2009-09-07 07:57:48 +00:00
Atsushi Eno f469ce8ab5 2009-09-07 Atsushi Enomoto <[email protected]>
* UriTemplateTest.cs : fixed a couple of tests to match 3.5 SP1
	  behavior.

	* UriTemplate.cs : Fixed a couple of parse/match behavior to match
	  3.5 SP1 (except for Defaults which misses implementation).


svn path=/trunk/mcs/; revision=141403
2009-09-07 07:03:15 +00:00
Jb Evain 982e3b35a4 move to from olive to mcs
svn path=/trunk/mcs/; revision=111188
2008-08-20 21:25:05 +00:00