mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
Fix creating multis for users with capitals in their name.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user