websanova / js-url

url() - A simple, lightweight url parser for JavaScript
http://www.websanova.com
MIT License
1.93k stars 204 forks source link

path don't return trailing slash #56

Closed Andey-d closed 7 years ago

Andey-d commented 7 years ago

$.url('path','http://vm.sovrhistory.ru/february-v1/') returns "/february-v1" expected "/february-v1/"

websanova commented 7 years ago

ok, has been fixed in v2.5.0, thx :-)