function check_url in Drupal 4
Same name and namespace in other branches
- 8 core/includes/common.inc \check_url()
- 5 includes/common.inc \check_url()
- 6 includes/common.inc \check_url()
- 7 includes/common.inc \check_url()
Prepare a URL for use in an HTML attribute. Strips harmful protocols.
Related topics
25 calls to check_url()
- aggregator_page_opml in modules/
aggregator.module - Menu callback; generates an OPML representation of all feeds.
- aggregator_page_rss in modules/
aggregator.module - Menu callback; generate an RSS 0.92 feed of aggregator items or categories.
- aggregator_refresh in modules/
aggregator.module - Checks a news feed for new items.
- blog_form in modules/
blog.module - Implementation of hook_form().
- chameleon_page in themes/
chameleon/ chameleon.theme
File
- includes/
common.inc, line 715 - Common functions that many Drupal modules will need to reference.
Code
function check_url($uri) {
return filter_xss_bad_protocol($uri, FALSE);
}