whatwg / urlpattern

URL Pattern Standard
https://urlpattern.spec.whatwg.org/
Other
159 stars 22 forks source link

Backslash escaping is required for colon before password in string syntax #189

Open jeremyroman opened 1 year ago

jeremyroman commented 1 year ago

i.e., you must write https://alice\:bob@example.com/; failing to escape the colon leads to the username pattern being parsed as alice:bob. We should either change or document this.