urlpattern icon indicating copy to clipboard operation
urlpattern copied to clipboard

Backslash escaping is required for colon before password in string syntax

Open jeremyroman opened this issue 1 year ago • 0 comments

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

jeremyroman avatar Oct 03 '23 19:10 jeremyroman