- 🇨🇿Czech Republic honyik
Also having this issue on D10, the field for max-width is now a number field, so no potential for filling it wrong, it's gotta be an issue in the code itself.
When setting width and/or height to null in remote video media field (in one of display mode with custom values), the two hash in function render() are not equal. This occurs because the getter $request->query->getInt('max_width', NULL) returns the value 0 instead of null (line 122 in /core/modules/media/src/Controller/OEmbedIframeController.php).
When the two hash are not equal the system returns Access Denied message and the media is not showed.
This do not occurs in a vanilla based installation (I don't know why...).
Needs work
9.5
Last updated
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Also having this issue on D10, the field for max-width is now a number field, so no potential for filling it wrong, it's gotta be an issue in the code itself.