Andrew Carman
Results
2
issues of
Andrew Carman
I'm using this library to determine which ZIP codes are within a given area. Unfortunately, it seems to be incorrectly calculating INTERSECTION some of the time. Here is an example:...
``` const a = new RouteParser('/foo/:bar') a.reverse({bar: 'hi/test'}) // Returns "/foo/hi/test" a.reverse({bar: 'hi test'}) // Returns "/foo/hi%20test" ``` Either the first should return `"/foo/hi%2ftest"` (by calling EncodeURIComponent on each param)...