Unable to Logout; The referer used is not safe as it can be controlled by a User

Version 1.514

Bugfix
Finished

When logged in as a User using the "Login As" option, if you see this message: Unable to Logout The referer used is not safe as it can be controlled by a User it refers to a recent referer check in 1.51.0: https://www.directadmin.com/features.php?id=1916 The bug was that the possibly url encoded referer wasn't being decoded before the check. Runnin DA in debug mode 2100 will get you more info about the "is_dangerous_referer" function doing the check. This is the related error that was incorrect: is_dangerous_referer: /home/username/domains/one%32three.com is eiter not readable or not a directory. Will not trust it. where "%32" shoudld have been decoded into "2" before checking the path.

Interested to try DirectAdmin? Get a 30-day Free Trial!