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

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

$
0
0
NOTE: i noticed that links(id,self,edit) are also not getting generated due to similar problem.<br /><br />I have an entity and controller which has a unicode name it and I am defining it like below:<br /><br />var categories = builder.EntitySet<üCategory>("üCategories");<br /><br />I have a corresponding controller for it:<br /><br />public class üCategoriesController : ApiController<br /> {<br /> Models.NorthwindEntities db = new Models.NorthwindEntities();<br /><br /> public IEnumerable<üCategory> Get()<br /> {<br /> return db.Categories;<br /> }<br />.....<br /><br /><br />I made a request from the browser with this url: <br />http://localhost:19979/üCategories<br /><br />Expected: successful response with list of categories<br />Actual: 404 Not found<br /><br />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.
Comments: Verified

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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