You are here

7 calls to UrlHelper::setAllowedProtocols() in Drupal 9

DrupalKernel::preHandle in core/lib/Drupal/Core/DrupalKernel.php
Helper method that does request related initialization.
LinkExternalProtocolsConstraintValidatorTest::testValidate in core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php
@covers ::validate @dataProvider providerValidate
UnroutedUrlAssembler::__construct in core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
Constructs a new unroutedUrlAssembler object.
UrlGenerator::__construct in core/lib/Drupal/Core/Routing/UrlGenerator.php
Constructs a new generator object.
UrlHelperTest::testFilterBadProtocol in core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php
Tests bad protocol filtering and escaping.
UrlHelperTest::testStripDangerousProtocols in core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php
Tests dangerous url protocol filtering.
XssTest::setUp in core/tests/Drupal/Tests/Component/Utility/XssTest.php