pofider / node-simple-odata-server

Simple OData server for node.js
MIT License
97 stars 60 forks source link

computation of base pathname #8

Closed bobmayo56 closed 9 years ago

bobmayo56 commented 9 years ago

Fixed computation of base pathname to trim subpath off of the end of the originalUrl, not just removing it everywhere in the originalUrl. Error was visible in the JSON from http GET of the base. Also handle case where originalUrl was null, as it is in the README.md example.

pofider commented 9 years ago

Thanks!