From 07325eb90ea9bf6c20143678a00f8ccfb1e76f98 Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski Date: Wed, 1 Sep 2021 18:01:41 +0200 Subject: [PATCH] Escape unicode characters when setting logout_reason cookie Change-Id: Ic61a3958461a4a939acc40d1039881e2d4c3a1cd Closes-bug: #1894801 (cherry picked from commit e68e23937341d03be7475d71903f31a61403c1e2) --- horizon/templates/auth/_login_form.html | 6 +++--- horizon/templates/auth/_password_form.html | 6 +++--- horizon/utils/functions.py | 2 +- openstack_auth/views.py | 18 ++++++++++++++---- 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/horizon/templates/auth/_login_form.html b/horizon/templates/auth/_login_form.html index 66ce8ff194..a4a4abad5c 100644 --- a/horizon/templates/auth/_login_form.html +++ b/horizon/templates/auth/_login_form.html @@ -52,13 +52,13 @@
{{ request.COOKIES.logout_reason }}
{{ logout_reason }}