comparison core/lib/Drupal/Core/Security/RequestSanitizer.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents e200cb7efeb3
children 129ea1e6d783
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
32 * @param \Symfony\Component\HttpFoundation\Request $request 32 * @param \Symfony\Component\HttpFoundation\Request $request
33 * The incoming request to sanitize. 33 * The incoming request to sanitize.
34 * @param string[] $whitelist 34 * @param string[] $whitelist
35 * An array of keys to whitelist as safe. See default.settings.php. 35 * An array of keys to whitelist as safe. See default.settings.php.
36 * @param bool $log_sanitized_keys 36 * @param bool $log_sanitized_keys
37 * (optional) Set to TRUE to log an keys that are sanitized. 37 * (optional) Set to TRUE to log keys that are sanitized.
38 * 38 *
39 * @return \Symfony\Component\HttpFoundation\Request 39 * @return \Symfony\Component\HttpFoundation\Request
40 * The sanitized request. 40 * The sanitized request.
41 */ 41 */
42 public static function sanitize(Request $request, $whitelist, $log_sanitized_keys = FALSE) { 42 public static function sanitize(Request $request, $whitelist, $log_sanitized_keys = FALSE) {