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
@@ -44,7 +44,7 @@ function toggleEncodingMenu(updateEncMenu = false, clearValues = false) {
|
||||
if (cipherList[i].enabled == true) { // for each enabled cipher
|
||||
chkVal = (document.getElementById('encCiphVal'+i) !== null) ? document.getElementById('encCiphVal'+i).value : 0
|
||||
chkVal = (clearValues) ? 0 : chkVal // clear values
|
||||
o += '<td><span class="ciphCheckboxLabel">'+cipherList[i].cipherName+'</span></td>'
|
||||
o += '<td><span class="ciphCheckboxLabel">'+escHtml(cipherList[i].cipherName)+'</span></td>'
|
||||
o += '<td><input type="text" value="'+chkVal+'" class="colSlider" id="encCiphVal'+i+'"></td>'
|
||||
o += '<td style="min-width: 16px;"></td>'
|
||||
ciph_in_row++
|
||||
|
||||
Reference in new issue
Block a user