Change information
Commit message:
[m143] media: Fix non-standard url parameter in provisioning
Cherry-pick to M143.
The url parameter was added via an ampersand, when the start of
parameters should actually include a question mark. This worked because
of lenient parsing, but should be fixed to match the standard, as the
question mark is recognized as the start of the query string by all
servers.
Tested manually with flag enabled to verify it worked.
Media.EME.MediaDrm.Provisioning returns success each time.
Media.EME.UrlProvisionFetcher.ResponseCode returns 200 each time.
(cherry picked from commit bf3874fe28522965231961d42ce7591df15ed20c)
Bug: 456186326, 456250902
Change-Id: I21cc325a03d30328cc6b00bb03508e4c18977877
Cr-Original-Commit-Position: refs/heads/main@{#1537542}
Cr-Commit-Position: refs/branch-heads/7499@{#527}
Cr-Branched-From: b30439823e5177773584139e72e0593e36863899-refs/heads/main@{#1536371}
Files:
- M content/browser/media/url_provision_fetcher.cc
- M content/browser/media/url_provision_fetcher_unittest.cc
Change size: XS
Delta: 2 files changed, 2 insertions(+), 2 deletions(-)
Branch: refs/branch-heads/7499
Submit Requirements:
Code-Review: +1 by Xiaohan Wang, +1 by Feras Aldahlawi