diff --git a/login.php b/login.php index 9120b9f..07e8b14 100644 --- a/login.php +++ b/login.php @@ -604,7 +604,10 @@ require_once __DIR__ . '/captcha_guard.php'; applyAgreementUI(); document.getElementById('agreementSection').style.display = AG.need ? 'block' : 'none'; actionsDiv.style.display = 'flex'; - actionsDiv.innerHTML = ''; + // ★ 125 续15l-8:player 用单引号包(HTML 属性值本身用双引号), + // 并对 player 做 HTML 转义防 XSS + 防引号嵌套截断属性值 + const _p = JSON.stringify(player).replace(/"/g, "'"); + actionsDiv.innerHTML = ''; return; } // ★ 已签 / 无协议 → 无感登录:直接跳转(fireAgreementMark 幂等,未签才补写;显式传 player)