Created
May 22, 2013 16:53
-
-
Save hub-cap/5629101 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/reddwarf/extensions/mysql/service.py b/reddwarf/extensions/mysql/service.py | |
| index d81a715..95daaff 100644 | |
| --- a/reddwarf/extensions/mysql/service.py | |
| +++ b/reddwarf/extensions/mysql/service.py | |
| @@ -123,6 +123,9 @@ class UserController(wsgi.Controller): | |
| LOG.info(_("req : '%s'\n\n") % req) | |
| context = req.environ[wsgi.CONTEXT_KEY] | |
| username, host = unquote_user_host(id) | |
| + # Unquote user/host since dots are valid | |
| + username = username.replace("\\.", ".") | |
| + host = host.replace("\\.", ".") | |
| user = None | |
| try: | |
| user = models.User.load(context, instance_id, username, host) | |
| diff --git a/tools/pip-requires b/tools/pip-requires | |
| index 94a76cd..f29bdee 100644 | |
| --- a/tools/pip-requires | |
| +++ b/tools/pip-requires | |
| @@ -2,7 +2,7 @@ SQLAlchemy>=0.7.8,<=0.7.9 | |
| eventlet | |
| extras | |
| kombu==1.5.1 | |
| -routes | |
| +routes>=1.13 | |
| WebOb | |
| PasteDeploy | |
| paste |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment