I've noticed these kind of errors in dblogs:

UnexpectedValueException : Untrusted Host "outlook.live.com" dans Symfony\Component\HttpFoundation\Request->getHost() .

Users get the error when they click on the password reset link.

Any idea how i can fix this ?

Thanks.

Comments

pixelsweatshop’s picture

Did you try searching google before posting? If you did, the first result would be https://www.drupal.org/node/2417075

In that issue, it looks like it has been reverted in future core releases. Make sure you are running the latest version of 8.

j.b’s picture

Of course i searched before posting here.

My live site is running version 8.2.8

pixelsweatshop’s picture

Well, if you did indeed search and read the post I linked above then you would know it is a known issue and a fix was recently committed to 8.4. https://www.drupal.org/node/2221699 Once 8.4 is released, you can update. In the meantime, I at least suggest updating to 8.3. Early minor releases are going to be pretty aggressive in their bug fixes, you should probably stay on top of it.

mmjvb’s picture

Good to see someone making sense of it. BTW searching and reading is not enough. Even for those with the required background knowledge it is not easy to understand.

For anyone having issues with it, suggest to disable it till they get their act together! It is supposed to improve security, so far it only stops legitimate use!

byrond’s picture

This post is now the #1 result while searching Google for the error.  :D