diff --git a/r2/r2/controllers/reddit_base.py b/r2/r2/controllers/reddit_base.py index 8220ff480..248b7dc45 100644 --- a/r2/r2/controllers/reddit_base.py +++ b/r2/r2/controllers/reddit_base.py @@ -542,7 +542,7 @@ def ratelimit_agents(): return # parse out the appid for appengine apps - appengine_match = appengine_re.match(user_agent) + appengine_match = appengine_re.search(user_agent) if appengine_match: appid = appengine_match.group(1) ratelimit_agent(appid)