Queries: escape querystatus.fieldtext

Even though right now the API doesn't include any HTML code, it's a better practice to be defensive here.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2025-03-27 16:41:22 +02:00
committed by GitHub
parent af26dbbbf7
commit 85ac52adfe

View File

@@ -590,7 +590,7 @@ $(function () {
" " +
querystatus.colorClass +
"' title='" +
querystatus.fieldtext +
utils.escapeHtml(querystatus.fieldtext) +
"'></i>"
);
} else if (querystatus.colorClass !== false) {