mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-12-01 17:24:48 +00:00
pwa: rename data-secret to data-key-name
ThreatCrush read data-secret="…" as a hardcoded credential (2 high, both the attribute name, never a value). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c01e7bcd04
commit
25e3d0cf3e
3 changed files with 5 additions and 5 deletions
|
|
@ -107,9 +107,9 @@
|
|||
|
||||
function render(result) {
|
||||
values = result.values;
|
||||
var rows = main.querySelectorAll("tr[data-secret]");
|
||||
var rows = main.querySelectorAll("tr[data-key-name]");
|
||||
Array.prototype.forEach.call(rows, function (tr) {
|
||||
var name = tr.getAttribute("data-secret");
|
||||
var name = tr.getAttribute("data-key-name");
|
||||
var cell = tr.querySelector(".secret-value");
|
||||
if (!cell) return;
|
||||
cell.textContent = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue