Files
zulip/web
Abhay Upadhyay 51a4ed61ee settings: Validate candidate linkifier before sending to server.
Before submitting a candidate custom linkifier, the web app now
validates it locally using `python_to_js_linkifier`. This prevents
invalid linkifiers from reaching the server, as the server may
support some linkifiers that the web app does not.

To achieve this, `python_to_js_linkifier` is exported from
`linkifiers.ts`, and a try-catch block is added in
`settings_linkifiers.ts`. If the web-app does not support
the linkifier, the app displays an error message
and prevents submission.
Fixes:#33238
2025-02-13 10:07:02 -08:00
..