Fix isRootRelative for protocol-relative URLs
Protocol-relative URLs, e.g., `//foo.test`, are not root-relative. This fixes `isRootRelative` to return `false` when given a protocol-relative URL using a negative lookahead assertion for a second '/' character.
Showing
Please register or sign in to comment