Skip to content

Commit 5a16bb3

Browse files
Merge pull request #15606 from rabbitmq/mk-escape-x-argument-headers-in-management-ui
Escape x-internal-purpose used by the federation plugin
2 parents d210ca4 + b267a29 commit 5a16bb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/rabbitmq_management/priv/www/js/formatters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ function _link_to(name, url, highlight, args) {
791791
if (highlight == undefined) highlight = true;
792792
var title = null;
793793
if (args != undefined && args['x-internal-purpose'] != undefined) {
794-
var purpose = args['x-internal-purpose'];
794+
var purpose = fmt_escape_html(args['x-internal-purpose']);
795795
title = 'This is used internally by the ' + purpose + ' mechanism.';
796796
}
797797
return '<a href="' + url + '"' +

0 commit comments

Comments
 (0)