You are here

7 calls to UrlHelper::stripDangerousProtocols() in Drupal 10

comment_tokens in core/modules/comment/comment.tokens.inc
Implements hook_tokens().
FormattableMarkup::placeholderFormat in core/lib/Drupal/Component/Render/FormattableMarkup.php
Replaces placeholders in a string with values.
system_page_attachments in core/modules/system/system.module
Implements hook_page_attachments().
template_preprocess_form in core/includes/form.inc
Prepares variables for form templates.
template_preprocess_search_result in core/modules/search/search.pages.inc
Prepares variables for individual search result templates.
UrlHelperTest::testStripDangerousProtocols in core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php
Tests dangerous url protocol filtering.
XssUnitTest::testBadProtocolStripping in core/tests/Drupal/KernelTests/Core/Common/XssUnitTest.php
Checks that harmful protocols are stripped.