Hacker News new | past | comments | ask | show | jobs | submit login

what is really needed is a good and well documented/tested javascript library for parsing and comparing URLs

I have a bunch of functions (parse_params, get_host, etc.) across a number of projects and always find new bugs with weird URLs that are out in the wild.




URI.js now has a feature to test equality of URIs - medialize.github.com/URI.js/docs.html#equals - is that what you were looking for?


yes - thank you! I will take a look at it this weekend and if I have anything in my set of functions that isn't there and might be useful I will submit a pull request.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: