Skip to content

v2.1.2

Compare
Choose a tag to compare
@tjenkinson tjenkinson released this 29 Dec 11:59
· 382 commits to main since this release

Scheme regex is now a bit stricter.

It now must match [a-zA-Z0-9+\-.] as described in the RFC.

This means relative urls that happen to contain ‘:’ are more likely to be recognised as relative providing they contain a character that does not satisfy the above.

Also updated the README mentioning that if you know a URL is relative, you should prefix it with ./.