Sanitize Debug node name when display enable/disable message

This commit is contained in:
Nick O'Leary
2021-02-09 15:04:00 +00:00
parent fad8dcd304
commit dd780945e1

View File

@@ -108,7 +108,7 @@
toggle: "active",
visible: function() { return this.tosidebar; },
onclick: function() {
var label = this.name||"debug";
var label = RED.utils.sanitize(this.name||"debug");
var node = this;
activateAjaxCall(node, node.active, function(resp, textStatus, xhr) {
var historyEvent = {