diff -u b/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php --- b/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -465,7 +465,7 @@ // Put the request on the stack. $this->container->get('request_stack')->push($request); - // Set the allowed protocols once we have the config available. + // Set the allowed protocols. UrlHelper::setAllowedProtocols($this->container->getParameter('filter_protocols')); // Override of Symfony's mime type guesser singleton.