function filter_xss_bad_protocol

6.x misc.inc filter_xss_bad_protocol($string)
7.x misc.inc filter_xss_bad_protocol($string)
4.x misc.inc filter_xss_bad_protocol($string)
5.x misc.inc filter_xss_bad_protocol($string)
1 call to filter_xss_bad_protocol()

File

includes/misc.inc, line 1281
This file contains misc functions for FlightPath

Code

function filter_xss_bad_protocol($string) {
  // Get the plain text representation of the attribute value (i.e. its meaning).
  $string = html_entity_decode($string, ENT_QUOTES, 'UTF-8');
  return htmlspecialchars(fp_strip_dangerous_protocols($string), ENT_QUOTES, 'UTF-8');
}