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

Fix the google white listed emails validation code #745

Merged

Conversation

dbaxa
Copy link
Contributor

@dbaxa dbaxa commented Aug 20, 2013

The google white-list email validation code previously had a security issue where by a django application which was configured to only accept a list of emails would 'fail open' because no error was raised when the email address to validate was not in the list of allowed emails and no domain was configured!

…s are configured and an email address not in the whitelisted list is given.

Also make the validate_whitelists function fail closed.

Signed-off-by: David Black <dblack@atlassian.com>
… a domain is in the allowed white-list set of emails and domains respectively.

Signed-off-by: David Black <dblack@atlassian.com>
@dbaxa
Copy link
Contributor Author

dbaxa commented Aug 20, 2013

@omab ping!

omab added a commit that referenced this pull request Aug 20, 2013
…_validation_code

Fix the google white listed emails validation code
@omab omab merged commit e37dbac into omab:master Aug 20, 2013
@omab
Copy link
Owner

omab commented Aug 20, 2013

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants