Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There should be a explicit error when the host is not on default_host variable #3834

Closed
rcubetrac opened this issue Jun 29, 2012 · 3 comments

Comments

@rcubetrac
Copy link

Reported by ASeques on 29 Jun 2012 14:40 UTC as Trac ticket #1488550

At least in 0.7.2 (probably on newer versions too since the code it's the same) there's a check to validate the host passed to the login function in rcmail.php
The problem with that is that this error is quite hard to debug, since the function only returns false (then being translated as wrong password)
There should be a more explicit message (even with its own errorcode) indicating that your host isn't in the array/string of allowed hosts defined in default_host.

This is specially confusing when default_host is 'localhost' and for some reason the $host is picked up as '127.0.0.1'

For a thread about this issue go to:
http://www.roundcubeforum.net/index.php/topic,9776.msg39666.html#

Migrated-From: http://trac.roundcube.net/ticket/1488550

@rcubetrac
Copy link
Author

Milestone changed by @alecpl on 30 Jun 2012 08:22 UTC

later => 0.8-stable

@rcubetrac
Copy link
Author

Comment by @alecpl on 1 Jul 2012 06:46 UTC

Fixed in ecc3ba1

@rcubetrac
Copy link
Author

Status changed by @alecpl on 1 Jul 2012 06:46 UTC

new => closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant