3x-ui/frontend/src
MHSanaei 0faad4f4f3 fix(wireguard): check every line of generated client configs
The WireGuard and AmneziaWG .conf builders (subscription service, clients
page, inbound modal and subscription page) checked only a few of the values
they write. Each builder now assembles the file line by line and renders
nothing when a line holds a control character, so every value is covered
whatever stored it. A decoded vpn:// payload is refused when it carries a
wg-quick hook directive, which no panel builder writes, and the subscription
page hides a config block that rendered nothing.

The inbound form now validates a WireGuard/AmneziaWG client's allowedIPs on
create and on update, including the stored clients a protocol switch keeps,
as the client endpoints already did.
2026-10-24 01:10:09 +02:00
..
api feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00
components fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
entries fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
generated fix(inbounds): accept masque in the inbound protocol validator 2026-10-11 10:56:47 +02:00
hooks fix(tuic): client speed display and certificate button layout (#6723) 2026-10-05 19:46:46 +02:00
i18n fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
layouts fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
lib fix(wireguard): check every line of generated client configs 2026-10-24 01:10:09 +02:00
models feat(inbound): excludeFromSub hides links without disabling (#6463) 2026-09-27 12:26:37 +02:00
pages fix(wireguard): check every line of generated client configs 2026-10-24 01:10:09 +02:00
schemas feat(xray): update xray-core to v26.10.21 and adapt panel 2026-10-22 17:10:11 +02:00
styles feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00
test fix(wireguard): check every line of generated client configs 2026-10-24 01:10:09 +02:00
utils fix(frontend): keep the given file name on mobile downloads 2026-09-30 15:03:21 +02:00
env.d.ts feat(sub): redesign the subscription page around usage, tabs and app imports 2026-09-16 01:55:56 +02:00
main.tsx fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
queryClient.ts feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
routes.tsx feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00