check_url in includes/common.inc
Strips dangerous protocols from a URI and encodes it for output to HTML.
CommonXssUnitTest::testBadProtocolStripping in modules/simpletest/tests/common.test
Check that harmful protocols are stripped.
filter_xss_bad_protocol in includes/common.inc
Processes an HTML attribute value and strips dangerous protocols from URLs.
l in includes/common.inc
Formats an internal or external URL link as an HTML anchor tag.
template_preprocess_html in includes/theme.inc
Preprocess variables for html.tpl.php
template_preprocess_maintenance_page in includes/theme.inc
Process variables for maintenance-page.tpl.php.
theme_form in includes/form.inc
Returns HTML for a form.
url_is_external in includes/common.inc
Returns TRUE if a path is external to Drupal (e.g. http://example.com).