Closed Bug 1515298 Opened 2 years ago Closed 1 year ago

[wpt-sync] Sync PR 14599 - SignedExchange: Reject SXG if fallback URL has invalid UTF-8 sequence

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 14599 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/14599
Details from upstream follow.

Kunihiko Sakamoto <ksakamoto@chromium.org> wrote:
>  SignedExchange: Reject SXG if fallback URL has invalid UTF-8 sequence
>  
>  GURL parser happily accepts invalid UTF-8 path, so we need to validate
>  the fallback URL string before parsing.
>  
>  Spec: https://github.com/WICG/webpackage/pull/346
>  
>  Bug: 916390
>  Change-Id: Ife25621e2a41beef01cbf36a5ab523eaee1ea222
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1382724
>  WPT-Export-Revision: 59700b0cc6ed35582fe74e3466b553c48fd9164a
PR 14599 applied with additional changes from upstream: 2e19cbe5d5d74821056d4ae2cef435accefaf4ef
Ran 1 tests and 1 subtests
OK     : 1
PASS   : 1
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/812e25f08167
[wpt PR 14599] - SignedExchange: Reject SXG if fallback URL has invalid UTF-8 sequence, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c680ff16a9c7
[wpt PR 14599] - SignedExchange: Reject SXG if fallback URL has invalid UTF-8 sequence, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.