3 ms·
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_hos
by nikcub 15y ago
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.
- rodneyrehm 15y agoURI.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?
- nikcub 15y agoyes - 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.