Submitted by zmimi83 on
Bonsoir,
Je viens de terminer l'install de Drupal 8 sur un hébergement PlanetHoster. Le message quivant est affiché :
Trusted Host Settings
The trusted_host_patterns setting is not configured in settings.php. This can lead to security vulnerabilities. It is highly recommended that you configure this. See Protecting against HTTP HOST Header attacks for more information.
Un idée ?
Merci d'avance !
En test local, j'ai ajouté
Permalien Soumis par XTaz le 28 Novembre, 2015 - 17:34
En test local, j'ai ajouté ces lignes dans le fichier .settings.php (à adapter en fonction du nom de domaine)
Après avoir suivi le lien sur cette erreur signalée dans le tableau de bord de Drupal 8.
https://www.drupal.org/node/1992030
$settings['trusted_host_patterns'] = array(
'^www.example.com$',
);