Commit ce8e734a authored by catch's avatar catch
Browse files

Issue #3248014 by daffie, andypost: [Symfony 6] The...

Issue #3248014 by daffie, andypost: [Symfony 6] The Drupal\Tests\media\Kernel\OEmbedIframeControllerTest fails

(cherry picked from commit 507fc5fe)
parent aa988ef4
......@@ -121,8 +121,8 @@ public static function create(ContainerInterface $container) {
public function render(Request $request) {
$url = $request->query->get('url');
$max_width = $request->query->getInt('max_width', NULL);
$max_height = $request->query->getInt('max_height', NULL);
$max_width = $request->query->getInt('max_width');
$max_height = $request->query->getInt('max_height');
// Hash the URL and max dimensions, and ensure it is equal to the hash
// parameter passed in the query string.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment