Bug
1515006 [wpt PR 14584] - SignedExchange: Use unparsed URL string for signature verification, a=testonly
Automatic update from web-platform-tests
SignedExchange: Use unparsed URL string for signature verification
Before this patch, SignedExchangeSignatureVerifier used GURL::spec()
to stringify URLs when reconstructing the signed message. However,
GURL::spec() may return a string which is differently percent-encoded
from the original URL string, and then verification fails.
This patch introduces URLWithRawString struct which holds original
URL string along with parsed GURL, and use the original string
for signature verification.
Bug: 914247
Change-Id: I8950bf172391782ebb92338707245694b046052f
Reviewed-on: https://chromium-review.googlesource.com/c/
1377959
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617714}
--
wpt-commits:
2e19cbe5d5d74821056d4ae2cef435accefaf4ef
wpt-pr: 14584