From 8c038e3ddbaa31aec1de0e344aa4aace6b6a1004 Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 8 Mar 2016 20:58:06 +0100 Subject: [PATCH] add missing url-encoding of base_url in terminal/edit templates This was fixed in the notebook and tree views, but overlooked in edit, terminal --- notebook/templates/edit.html | 2 +- notebook/templates/terminal.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebook/templates/edit.html b/notebook/templates/edit.html index 4a4cba993..ea49f89ab 100644 --- a/notebook/templates/edit.html +++ b/notebook/templates/edit.html @@ -11,7 +11,7 @@ {% block bodyclasses %}edit_app {{super()}}{% endblock %} {% block params %} -data-base-url="{{base_url}}" +data-base-url="{{base_url | urlencode}}" data-file-path="{{file_path}}" {{super()}} {% endblock %} diff --git a/notebook/templates/terminal.html b/notebook/templates/terminal.html index 3315a24dc..234d6e939 100644 --- a/notebook/templates/terminal.html +++ b/notebook/templates/terminal.html @@ -6,7 +6,7 @@ {% block params %} -data-base-url="{{base_url}}" +data-base-url="{{base_url | urlencode}}" data-ws-path="{{ws_path}}" {% endblock %}