5 calls to UrlHelper::stripDangerousProtocols()

FormattableMarkup::placeholderFormat in core/lib/Drupal/Component/Render/FormattableMarkup.php
Replaces placeholders in a string with values.
template_preprocess_form in core/includes/form.inc
Prepares variables for form 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.

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