diff --git a/tornado/web.py b/tornado/web.py index 8bdf0ddb..a0f6382b 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -1360,7 +1360,7 @@ class Application(object): if spec.regex.groupindex: kwargs = dict( - (k, unquote(v)) + (str(k), unquote(v)) for (k, v) in match.groupdict().iteritems()) else: args = [unquote(s) for s in match.groups()]