Currently we are treating / characters specially in all pathnames, but this only makes sense for standard URLs. Things like data: URLs don't structure around slashes in the pathname. We should therefore be passing default path-to-regexp options when parsing these cannot-be-a-base-URL pathnames.
Currently we are treating
/
characters specially in all pathnames, but this only makes sense for standard URLs. Things likedata:
URLs don't structure around slashes in the pathname. We should therefore be passing default path-to-regexp options when parsing these cannot-be-a-base-URL pathnames.See also:
https://bugs.chromium.org/p/chromium/issues/detail?id=1234865