Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By j.b on
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
~
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.
Of course i searched before
Of course i searched before posting here.
My live site is running version 8.2.8
~
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.
Thanks for your assessment.
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!
This post is now the #1
This post is now the #1 result while searching Google for the error. :D