From 19e6e4e7a10e8fb8743f67efee58d49da9985fd7 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Mon, 8 Apr 2013 17:10:54 -0700 Subject: [PATCH] Fix creating multis for users with capitals in their name. --- r2/r2/controllers/multi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/controllers/multi.py b/r2/r2/controllers/multi.py index b75c5ed00..3ba562598 100644 --- a/r2/r2/controllers/multi.py +++ b/r2/r2/controllers/multi.py @@ -95,7 +95,7 @@ class MultiApiController(RedditController, OAuth2ResourceController): ) def PUT_multi(self, info, data): """Create or update a multi.""" - if info['username'] != c.user.name: + if info['username'].lower() != c.user.name.lower(): raise RedditError('BAD_MULTI_NAME', code=400, fields="path") try: