Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Issue: SegmentParser unable to find unicode-based name segments [621]

$
0
0
I have an entity and controller which has a unicode name it and I am defining it like below:

var categories = builder.EntitySet<üCategory>("üCategories");

I have a corresponding controller for it:

public class üCategoriesController : ApiController
{
Models.NorthwindEntities db = new Models.NorthwindEntities();

public IEnumerable<üCategory> Get()
{
return db.Categories;
}
.....


I made a request from the browser with this url:
http://localhost:19979/üCategories

Expected: successful response with list of categories
Actual: 404 Not found

I debugged a bit and at the controller selector, segment parser is using relative uri's OriginalString(which is "%C3%BCCategories") to find the entity set and hence its unable to find it resulting in 404 NOT found.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>