Bug 301092
| Summary: | [GStreamer] Restrict allowed URI protocols for media playback | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <philn> |
| Component: | Platform | Assignee: | Cristina Murillo <cmurillo> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Philippe Normand
Currently we allow any protocol for which there is a GStreamer source element. We should allow only http(s), file, blob, data, mediastream, mediasource protocols. If some WEBKIT_GST_ALLOWED_URI_PROTOCOLS env var is set, parse its comma-separated contents and allow-list them as well.
IIUC this should be implemented in MediaPlayerPrivateGStreamer::load(const String& urlString).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Cristina Murillo
Pull request: https://github.com/WebKit/WebKit/pull/53137
EWS
Committed 302338@main (7e871b506eab): <https://commits.webkit.org/302338@main>
Reviewed commits have been landed. Closing PR #53137 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/163701675>