[wpt-sync] Sync PR 32481 - URLPattern: Fix erroneous prefix check in GeneratePatternString().
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32481 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32481
Details from upstream follow.
Ben Kelly <wanderview@chromium.org> wrote:
URLPattern: Fix erroneous prefix check in GeneratePatternString().
This fixes another issue related to:
https://github.com/WICG/urlpattern/issues/145
In this case we were incorrectly looking at the prefix value when trying
to determine if we should protect against characters following a:foo
named group. We don't need the prefix check because we already have the
needs_grouping
check. With this check in place we would incorrectly
allow following characters when there is an implicit prefix, like/
in
a pathname.Bug: 1289115
Change-Id: Id8a88b55a31c3a0e72310574fe4d7a6fc7781d68
Reviewed-on: https://chromium-review.googlesource.com/3405148
WPT-Export-Revision: 21122794d4e03a8cef5a917c5bfb0a1b5a8cfb65
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Assignee | ||
Comment 6•3 years ago
|
||
Assignee | ||
Comment 7•3 years ago
|
||
Assignee | ||
Comment 8•3 years ago
|
||
Assignee | ||
Comment 9•3 years ago
|
||
Assignee | ||
Comment 10•3 years ago
|
||
Assignee | ||
Comment 11•3 years ago
|
||
Assignee | ||
Comment 12•3 years ago
|
||
Assignee | ||
Comment 13•3 years ago
|
||
Comment 14•3 years ago
|
||
bugherder |
Description
•