7 common.inc check_url($uri)
4.6 common.inc check_url($uri)
4.7 common.inc check_url($uri)
5 common.inc check_url($uri)
6 common.inc check_url($uri)
8 common.inc check_url($uri)

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

... See full list


includes/common.inc, line 715
Common functions that many Drupal modules will need to reference.


function check_url($uri) {
  return filter_xss_bad_protocol($uri, FALSE);