3x-ui/web/assets
pwnnex 975d6d1bad
Fix: hysteria link gen crashes when echConfigList is a string (#4064)
`genHysteriaLink` was calling `.join(',')` on
`this.stream.tls.settings.echConfigList`, but that field is bound to an
`<a-input>` (single-line string) in `tls_settings.html` and defaults to
`''` in `TlsStreamSettings.Settings`. Calling `.join()` on a string
throws `TypeError: echConfigList.join is not a function`, which breaks
the Info / QR buttons for every hysteria / hysteria2 inbound.

All three sibling link generators (`genVmessLink`, `genVlessLink`,
`genTrojanLink`) already pass the value directly:

    params.set("ech", this.stream.tls.settings.echConfigList)

`URLSearchParams.set` will stringify arrays with `,` on its own, so the
same one-liner works for both string and array inputs. Align
`genHysteriaLink` with the other three.

Fixes #4063

Co-authored-by: pwnnex <eternxles@gmail.com>
2026-04-21 19:05:53 +02:00
..
ant-design-vue DevTools 2025-10-02 01:47:12 +02:00
axios DevTools 2025-10-02 01:47:12 +02:00
codemirror [CodeFactor] Apply fixes (#2595) 2024-11-12 01:28:00 +03:30
css Add custom geosite/geoip URL sources (#3980) 2026-04-19 21:24:24 +02:00
js Fix: hysteria link gen crashes when echConfigList is a string (#4064) 2026-04-21 19:05:53 +02:00
moment DevTools 2025-10-02 01:47:12 +02:00
otpauth DevTools 2025-10-02 01:47:12 +02:00
persian-datepicker css , jalali minify 2024-04-17 16:02:03 +03:30
qrcode QRious2 (#2156) 2024-04-01 10:38:22 +03:30
qs 3x-ui 2023-02-09 22:48:06 +03:30
uri URI.js v1.19.11 2024-04-17 16:07:07 +03:30
vue remove unnecessary vue files 2025-08-12 12:56:49 +02:00
Vazirmatn-UI-NL-Regular.woff2 Change font to Vazirmatn #1286 2023-12-04 19:01:09 +01:00