From 184e1e28fed2fa4207477ae102535e413530a281 Mon Sep 17 00:00:00 2001 From: "wenjun.swj" Date: Mon, 25 Jul 2016 12:05:22 +0800 Subject: [PATCH] typo --- notebook/files/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/files/handlers.py b/notebook/files/handlers.py index 25bc6cc77..1f02dd8d6 100644 --- a/notebook/files/handlers.py +++ b/notebook/files/handlers.py @@ -39,7 +39,7 @@ class FilesHandler(IPythonHandler): model = cm.get(path, type='file', content=include_body) if self.get_argument("download", False): - self.set_header('Content-Disposition','attachment; filename="%s"' % escape.urlescape(name)) + self.set_header('Content-Disposition','attachment; filename="%s"' % escape.url_escape(name)) # get mimetype from filename if name.endswith('.ipynb'):