You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this package is being maintained any more but a path like //@ (i.e starts with a '/' and contains a @) will make this middleware throw an error.
varpathname=url.parse(req.url).pathname;
The line above will return null which makes the following line throw an error:
varcacheValue=cacheValues(slasher(pathname));
It's a strange edge-case I know but it's something I ran into.
The text was updated successfully, but these errors were encountered:
AxlLind
changed the title
Paths like
Paths like '//@' throws error
Oct 24, 2018
I'm not sure if this package is being maintained any more but a path like
//@
(i.e starts with a '/' and contains a @) will make this middleware throw an error.The line above will return null which makes the following line throw an error:
It's a strange edge-case I know but it's something I ran into.
The text was updated successfully, but these errors were encountered: