1

Closed

ODataPathParser doesn't work with virtual directory path

description

For example: http://hongye2dev3/77a0d52dd12d4a5bbfeaedb62b8b32a9/UniverseEntity can't get path for odata.

It's because in ODataPathParser.cs: 41
Uri relative = baseUri.MakeRelativeUri(uri);

baseUri = uri: http://hongye2dev3/77a0d52dd12d4a5bbfeaedb62b8b32a9/
uri = uri: http://hongye2dev3/77a0d52dd12d4a5bbfeaedb62b8b32a9/UniverseEntity
The result relative will be /77a0d52dd12d4a5bbfeaedb62b8b32a9/UniverseEntity
Obviously, the relative can't be parsed by the parser
Closed Dec 11, 2012 at 11:07 PM by hongyes
this is fixed in latest version

comments