Sanitization functions

  1. cis7 includes/ sanitization
  2. cle7 includes/ sanitization
  3. elmsmedia7 includes/ sanitization
  4. icor7 includes/ sanitization
  5. meedjum_blog7 includes/ sanitization
  6. mooc7 includes/ sanitization

Functions to sanitize values.

See for information on writing secure code.


Namesort descending Location Description
check_markup modules/filter/filter.module Runs all the enabled filters on a piece of text.
check_plain includes/ Encodes special characters in a plain-text string for display as HTML.
check_url includes/ Strips dangerous protocols from a URI and encodes it for output to HTML.
drupal_attributes includes/ Converts an associative array to an XML/HTML tag attribute string.
drupal_strip_dangerous_protocols includes/ Strips dangerous protocols (e.g. 'javascript:') from a URI.
filter_xss includes/ Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities.
filter_xss includes/ Filters HTML to prevent cross-site-scripting (XSS) vulnerabilities.
filter_xss_admin includes/ Applies a very permissive XSS/HTML filter for admin-only use.
filter_xss_bad_protocol includes/ Processes an HTML attribute value and strips dangerous protocols from URLs.
format_string includes/ Formats a string for HTML display by replacing variable placeholders.
get_t includes/ Returns the name of the proper localization function.
st includes/ Translates a string when some systems are not available.
t includes/ Translates a string to the current language or to a given language.
_filter_xss_attributes includes/ Processes a string of HTML attributes.
_filter_xss_split includes/ Processes an HTML tag.


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




Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.