check_url
includes/common.inc, line 1007
- Versions
- 4.6 – 7
check_url($uri)
Prepare a URL for use in an HTML attribute. Strips harmful protocols.
▾ 24 functions call 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/common.inc
- Formats an RSS channel.
- format_rss_item in includes/common.inc
- Format a single RSS item.
- l in includes/common.inc
- Format an internal Drupal link.
- profile_view_field in modules/profile/profile.module
- template_preprocess_aggregator_feed_source in modules/aggregator/aggregator.pages.inc
- Process variables for aggregator-feed-source.tpl.php. See alsoaggregator-feed-source.tpl.php
- template_preprocess_aggregator_item in modules/aggregator/aggregator.pages.inc
- Process variables for aggregator-item.tpl.php. See alsoaggregator-item.tpl.php
- template_preprocess_aggregator_summary_item in modules/aggregator/aggregator.pages.inc
- Process variables for aggregator-summary-item.tpl.php. See alsoaggregator-summary-item.tpl.php
- template_preprocess_maintenance_page in includes/theme.maintenance.inc
- The variables generated here is a mirror of template_preprocess_page(). This preprocessor will run it's course when theme_maintenance_page() is invoked. It is also used in theme_install_page() and theme_update_page() to keep all the variables...
- template_preprocess_page in includes/theme.inc
- Process variables for page.tpl.php
- template_preprocess_search_result in modules/search/search.pages.inc
- Process variables for search-result.tpl.php.
- theme_aggregator_block_item in modules/aggregator/aggregator.module
- Format an individual feed item for display in the block.
- theme_aggregator_page_opml in modules/aggregator/aggregator.pages.inc
- Theme the OPML feed output.
- theme_aggregator_page_rss in modules/aggregator/aggregator.pages.inc
- Theme the RSS output.
- theme_feed_icon in includes/theme.inc
- Return code that emits an feed icon.
- theme_form in includes/form.inc
- Format a form.
- theme_image in includes/theme.inc
- Return a themed image.
- theme_more_help_link in includes/theme.inc
- Returns code that emits the 'more help'-link.
- theme_more_link in includes/theme.inc
- Returns code that emits the 'more' link used on blocks.
- theme_textfield in includes/form.inc
- Format a textfield.
- theme_xml_icon in includes/theme.inc
- Return code that emits an XML icon.
- _filter_url_parse_full_links in modules/filter/filter.module
- Make links out of absolute URLs.
Code
<?php
function check_url($uri) {
return filter_xss_bad_protocol($uri, FALSE);
}
?> 