[Python-modules-commits] [python-social-auth] 269/322: Fix clean username regex. Fixes #594

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:13:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.10
in repository python-social-auth.

commit c465257e3f64bbdab0c3f9d8e4f2eb71d463d071
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Thu Apr 16 20:46:50 2015 -0300

    Fix clean username regex. Fixes #594
---
 social/storage/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/social/storage/base.py b/social/storage/base.py
index fe246e9..475b70c 100644
--- a/social/storage/base.py
+++ b/social/storage/base.py
@@ -15,7 +15,7 @@ from social.backends.utils import get_backend
 from social.strategies.utils import get_current_strategy
 
 
-CLEAN_USERNAME_REGEX = re.compile(r'[^\w. at +-_]+', re.UNICODE)
+CLEAN_USERNAME_REGEX = re.compile(r'[^\w. at +_-]+', re.UNICODE)
 
 
 class UserMixin(object):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list