RequestSanitizer::SANITIZE_WHITELIST

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Security/RequestSanitizer.php \Drupal\Core\Security\RequestSanitizer::SANITIZE_WHITELIST

Previous name of SANITIZE_INPUT_SAFE_KEYS.

Deprecated

in drupal:9.1.0 and is removed from drupal:10.0.0. Use SANITIZE_INPUT_SAFE_KEYS instead.

See also

https://www.drupal.org/node/3163148

File

core/lib/Drupal/Core/Security/RequestSanitizer.php, line 31

Class

RequestSanitizer
Sanitizes user input.

Namespace

Drupal\Core\Security

Code

const SANITIZE_WHITELIST = 'sanitize_input_whitelist';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.