fix(awg): support AmneziaWG 2.0/3.0/3.1, fix WARP generator safety & update release 1.3.20

This commit is contained in:
Dushnilin
2026-09-05 12:00:14 +03:00
parent dbe6eb013c
commit a4a757223f
25 changed files with 8476 additions and 6142 deletions
+6
View File
@@ -176,6 +176,12 @@ function awg_tag_chain(value) {
if (value == "" || value == "0")
return "";
// Heal previously truncated tag chains (e.g. from broken conf import)
if (match(value, /^[0-9a-fA-F]+><[^<>]+>/))
value = "<b 0x" + value;
if (match(value, /<[^<>]+$/))
value = value + ">";
// A well-formed tag chain: keep it verbatim, including inner spacing
// ("<b 0x..>" carries a space inside each tag).
if (match(value, /^(<[^<>]+>)+$/))