fix security issue

This commit is contained in:
MHSanaei
2026-02-09 22:56:21 +01:00
parent 0994f8756f
commit c2f409c3c4
3 changed files with 14 additions and 8 deletions

View File

@@ -654,12 +654,10 @@
try {
const outboundJSON = JSON.stringify(outbound);
const testURL = this.outboundTestUrl || 'https://www.google.com/generate_204';
const allOutboundsJSON = JSON.stringify(this.templateSettings.outbounds || []);
const msg = await HttpUtil.post("/panel/xray/testOutbound", {
outbound: outboundJSON,
testURL: testURL,
allOutbounds: allOutboundsJSON
});