11 calls to UrlHelper::stripDangerousProtocols()

CommentTokensHooks::tokens in core/modules/comment/src/Hook/CommentTokensHooks.php
Implements hook_tokens().
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.
HandlerBase::sanitizeValue in core/modules/views/src/Plugin/views/HandlerBase.php
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.
UrlHelper::filterBadProtocol in core/lib/Drupal/Component/Utility/UrlHelper.php
Processes an HTML attribute value and strips dangerous protocols from URLs.
UrlHelper::isExternal in core/lib/Drupal/Component/Utility/UrlHelper.php
Determines whether a path is external to Drupal.
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.
_system_page_attachments in core/modules/system/system.module
Implements hook_page_attachments().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.