3x-ui/frontend/src
MHSanaei 6c6b40e063
fix(outbound): accept JSON-only configs and sync JSON to basic form on tab switch
Pasting a JSON config and clicking OK failed with "Something went wrong"
because validation read the empty form-side tag input instead of the
JSON's tag. Switching from the JSON tab to Basic also discarded any
JSON the user had pasted.

- onOk now validates and submits from the JSON tab using the parsed JSON
- Tab switch JSON→Basic deserializes the JSON back into the structured form
- Invalid JSON keeps the user on the JSON tab with a clear parse error
- Empty form-tag / duplicate-tag errors are now specific, not generic
2026-05-13 16:48:16 +02:00
..
api fix(auth): invalidate sessions when 2FA is enabled, fix dev 401 loop 2026-05-13 14:08:16 +02:00
components Security hardening: sessions, SSRF, CSP nonce, CSRF logout, trusted proxies (#4275) 2026-05-13 12:52:52 +02:00
composables fix(theme): default to dark, polish theme cycle visibility and hover 2026-05-11 12:51:37 +02:00
entries feat(ui): use the host as the browser tab title prefix 2026-05-13 14:23:57 +02:00
i18n Vue3 migration (#4198) 2026-05-09 17:47:35 +02:00
models fix: reality random target/sni buttons not working (#4337) (#4340) 2026-05-13 14:42:20 +02:00
pages fix(outbound): accept JSON-only configs and sync JSON to basic form on tab switch 2026-05-13 16:48:16 +02:00
utils feat(ui): use the host as the browser tab title prefix 2026-05-13 14:23:57 +02:00