Open mattiaz9 opened 1 month ago
It looks like it can't handle the + symbol inside the pathname.
+
For instance this:
import { URLPattern } from "urlpattern-polyfill" const patterns = new URLPattern({ pathname: "/app/profiles/+" })
Throws this error: TypeError: Failed to construct 'URLPattern': invalid pathname pattern '/app/profiles/+'
TypeError: Failed to construct 'URLPattern': invalid pathname pattern '/app/profiles/+'
It looks like it can't handle the
+
symbol inside the pathname.For instance this:
Throws this error:
TypeError: Failed to construct 'URLPattern': invalid pathname pattern '/app/profiles/+'