Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
URLPattern: Fix matched values for ':name*' patterns.
This fixes the problem where: const p = new URLPattern({ pathname: ':name*' }); const r = p.exec('foobar'); console.log(r.pathname.groups.name); Would log 'r' instead of 'foobar'. This is an upstream bug in path-to-regexp as well: pillarjs/path-to-regexp#260 Fixed: 1243773 Change-Id: I402d2b8cba48386d9ae02a493068488a7ad91d70 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3123654 Commit-Queue: Ben Kelly <wanderview@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/main@{#917069}
- Loading branch information