Skip to content

Commit 2d91eee

Browse files
Merge pull request #17024 from rabbitmq/mergify/bp/v4.3.x/pr-17020
Fix printing of warnings in management UI (backport #17020)
2 parents fac599b + ff595ea commit 2d91eee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/rabbitmq_management/priv/www/js/tmpl/login_oauth.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div id="login-status">
55
<% if (Array.isArray(warnings)) { %>
66
<% for (var i = 0; i < warnings.length; i++) { %>
7-
<p class="warning"><%=warnings[i]%> </p>
7+
<p class="warning"><%=fmt_escape_html(warnings[i])%> </p>
88
<% } %>
99
<% } %>
1010
<% if (notAuthorized) { %>

0 commit comments

Comments
 (0)