From 7303a06f83eb7db54f7718d29b9e45369d3cac5f Mon Sep 17 00:00:00 2001 From: howie6879 Date: Sun, 7 Jan 2018 12:07:18 +0800 Subject: [PATCH] Fix: the Chinese URI --- sanic/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/router.py b/sanic/router.py index ad93fda7..e399a6cf 100644 --- a/sanic/router.py +++ b/sanic/router.py @@ -374,7 +374,7 @@ class Router: :param method: request method :return: handler, arguments, keyword arguments """ - # url = unquote(url) + url = unquote(url) url = host + url # Check against known static routes route = self.routes_static.get(url)