calc: escape cipher names at all render sinks (parity with production; interim, CSP-real is the durable fix)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LmGTn96JVn6xPNNTTW77g1
This commit is contained in:
1 parent
b478d1122c
commit
0396c39b77
5 files changed
+18
-18
No files matched your search
+1
-1
@@ -283,7 +283,7 @@ function updateDatabaseQueryTable(stPos = 0, dItems, scrollBarEvent = false) { /
|
||||
curCiphCol = (optColoredCiphers) ? 'hsl('+curCiph.H+' '+curCiph.S+'% '+curCiph.L+'% / 1)' : ''
|
||||
// ms += '<td class="hCVQ"><span class="hCV2" style="color: '+curCiphCol+'">'+curCiph.cipherName.replace(/ /g, "<br>")+'</span></td>' // color of cipher displayed in the table
|
||||
ms += '<td class="hCVQ" style="height: '+calcCipherNameHeightPx(curCiph.cipherName)+'px;"><span class="hCV2" style="color: '+curCiphCol+'">'
|
||||
ms += curCiph.cipherName+'</span></td>' // color of cipher displayed in the table
|
||||
ms += escHtml(curCiph.cipherName)+'</span></td>' // color of cipher displayed in the table
|
||||
}
|
||||
ms += "</tr>"
|
||||
curPos += dbPageItems
|
||||
|
||||
Reference in new issue
Block a user