openrasta/openrasta-core — Issue #46: UriTemplate & encoded URIs
Author: cangencer
Created: 2012-03-02 17:09:06+00:00
State: open

Currently the UriTemplate class does not do any kind of URI encoding when doing BindingByName.

Here is a test that will fail

```csharp
BindingUriByName("/{value}", new { value = "?query" }).ShouldAllBe("http://localhost/foo/%3Fquery");
```

Are the consumers of the class, such as when using object.CreateUri(), expected to supply Uri Escaped Values?