Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292662

Correct a comment in drupal_settings_initialize()

$
0
0

drupal_settings_initialize() contains the following comment.

// HTTP_HOST can be modified by a visitor, but we already sanitized it
// in drupal_settings_initialize().

$_SERVER['HTTP_HOST'] is sanitized in drupal_environment_initialize(), not drupal_settings_initialize(). The correct comment would be:

// HTTP_HOST can be modified by a visitor, but we already sanitized it
// in drupal_environment_initialize().

Viewing all articles
Browse latest Browse all 292662

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>