You are here

function _coder_security_request_uri_warning in Coder 6.2

Same name and namespace in other branches
  1. 5.2 includes/coder_security.inc \_coder_security_request_uri_warning()
  2. 5 includes/coder_security.inc \_coder_security_request_uri_warning()
  3. 6 includes/coder_security.inc \_coder_security_request_uri_warning()
1 string reference to '_coder_security_request_uri_warning'
coder_security_reviews in includes/coder_security.inc
Implementation of hook_reviews().

File

includes/coder_security.inc, line 542
This include file implements coder functionality for Drupal Standards.

Code

function _coder_security_request_uri_warning() {
  return array(
    '#warning' => t('the use of REQUEST_URI is prone to XSS exploits and does not work on IIS; use !request_uri() instead', array(
      '!request_uri' => theme('drupalapi', 'request_uri'),
    )),
  );
}