mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
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