summary refs log tree commit diff
path: root/synapse/res
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-09-25 11:05:54 -0400
committerGitHub <noreply@github.com>2020-09-25 11:05:54 -0400
commit31acc5c30938bd532670d45304f6750de6e6e759 (patch)
treee84ad896bb9d5160ed28f4a6faee2aff9251323f /synapse/res
parentFix occasional "Re-starting finished log context" from keyring (#8398) (diff)
downloadsynapse-31acc5c30938bd532670d45304f6750de6e6e759.tar.xz
Escape the error description on the sso_error template. (#8405)
Diffstat (limited to 'synapse/res')
-rw-r--r--synapse/res/templates/sso_error.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/res/templates/sso_error.html b/synapse/res/templates/sso_error.html
index af8459719a..944bc9c9ca 100644
--- a/synapse/res/templates/sso_error.html
+++ b/synapse/res/templates/sso_error.html
@@ -12,7 +12,7 @@
     <p>
         There was an error during authentication:
     </p>
-    <div id="errormsg" style="margin:20px 80px">{{ error_description }}</div>
+    <div id="errormsg" style="margin:20px 80px">{{ error_description | e }}</div>
     <p>
         If you are seeing this page after clicking a link sent to you via email, make
         sure you only click the confirmation link once, and that you open the