You are here

function check_url in Drupal 6

Same name and namespace in other branches
  1. 8 core/includes/ \check_url()
  2. 4 includes/ \check_url()
  3. 5 includes/ \check_url()
  4. 7 includes/ \check_url()

Prepare a URL for use in an HTML attribute. Strips harmful protocols.

27 calls to check_url()
aggregator_refresh in modules/aggregator/aggregator.module
Checks a news feed for new items.
blog_form in modules/blog/blog.module
Implementation of hook_form().
chameleon_page in themes/chameleon/chameleon.theme
format_rss_channel in includes/
Formats an RSS channel.
format_rss_item in includes/
Format a single RSS item.

... See full list


includes/, line 1113
Common functions that many Drupal modules will need to reference.


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