From 30dde700701040d0d405e7e759a3d73e3b97bf71 Mon Sep 17 00:00:00 2001 From: Thai Tran Date: Fri, 1 May 2015 10:25:29 -0700 Subject: [PATCH] Sanitation of metadata passed from Django We need to escape HTML in metadata passed from Django, which can lead to security issues. Refer to the bug for more details. Co-Authored-By: Szymon Wroblewski Change-Id: I4821eacb0bb274befab7995f3a8f87c82d3997f5 Closes-bug: #1449260 (cherry picked from commit e7f3e0880f4e311c768c413e43317674cb234515) --- horizon/templates/horizon/common/_modal_form_update_metadata.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/horizon/templates/horizon/common/_modal_form_update_metadata.html b/horizon/templates/horizon/common/_modal_form_update_metadata.html index 1c8e1c9..1123247 100644 --- a/horizon/templates/horizon/common/_modal_form_update_metadata.html +++ b/horizon/templates/horizon/common/_modal_form_update_metadata.html @@ -11,8 +11,8 @@ existing="existing" model="tree"> {% endblock %} -- 1.9.1