Skip to content

Commit

Permalink
Escape table name
Browse files Browse the repository at this point in the history
Signed-off-by: Liviu-Mihail Concioiu <[email protected]>
  • Loading branch information
liviuconcioiu committed Jan 17, 2025
1 parent 95b4be7 commit f11212a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/database/structure.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ DatabaseStructure.fetchRealRowCount = function ($target) {
$.each(response.real_row_count_all,
function (index, table) {
// Update each table row count.
$('table.data td[data-table*="' + table.table + '"]')
$('table.data td[data-table*="' + Functions.escapeJsString(table.table) + '"]')
.text(table.row_count);
}
);
Expand Down

0 comments on commit f11212a

Please sign in to comment.