| 5 bootstrap.inc | check_plain($text) |
| 6 bootstrap.inc | check_plain($text) |
| 7 bootstrap.inc | check_plain($text) |
| 8 bootstrap.inc | check_plain($text) |
Encode special characters in a plain-text string for display as HTML.
Uses drupal_validate_utf8 to prevent cross site scripting attacks on Internet Explorer 6.
132 calls to check_plain()
3 string references to 'check_plain'
File
- includes/
bootstrap.inc, line 670 - Functions that need to be loaded on every Drupal request.
Code
function check_plain($text) {
return drupal_validate_utf8($text) ? htmlspecialchars($text, ENT_QUOTES) : '';
}
Login or register to post comments