Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 31acc5c

Browse files
authored
Escape the error description on the sso_error template. (#8405)
1 parent fec6f9a commit 31acc5c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/8405.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Consolidate the SSO error template across all configuration.

synapse/res/templates/sso_error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<p>
1313
There was an error during authentication:
1414
</p>
15-
<div id="errormsg" style="margin:20px 80px">{{ error_description }}</div>
15+
<div id="errormsg" style="margin:20px 80px">{{ error_description | e }}</div>
1616
<p>
1717
If you are seeing this page after clicking a link sent to you via email, make
1818
sure you only click the confirmation link once, and that you open the

0 commit comments

Comments
 (0)