Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
common.inc
»
drupal_strip_dangerous_protocols
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
7 calls to drupal_strip_dangerous_protocols()
check_url
in drupal/
includes/
common.inc
Strips dangerous protocols from a URI and encodes it for output to HTML.
CommonXssUnitTest::testBadProtocolStripping
in drupal/
modules/
simpletest/
tests/
common.test
Check that harmful protocols are stripped.
filter_xss_bad_protocol
in drupal/
includes/
common.inc
Processes an HTML attribute value and strips dangerous protocols from URLs.
template_preprocess_html
in drupal/
includes/
theme.inc
Preprocess variables for
html.tpl.php
template_preprocess_maintenance_page
in drupal/
includes/
theme.inc
Process variables for
maintenance-page.tpl.php
.
theme_form
in drupal/
includes/
form.inc
Returns HTML for a form.
url_is_external
in drupal/
includes/
common.inc
Returns TRUE if a path is external to Drupal (e.g.
http://example.com
).