Files
Spoolman/client/src/utils
tomaioo 95230eaa73 fix(security): unsafe json parsing of application settings
The `useCurrency` and `useCurrencyFormatter` functions parse currency settings using `JSON.parse` directly on values fetched from the backend. If the backend returns malformed JSON or unexpected data types, this will throw an unhandled exception and crash the UI component relying on these hooks.

Signed-off-by: tomaioo <203048277+tomaioo@users.noreply.github.com>
2026-08-01 23:12:38 -07:00
..
2023-12-17 20:36:13 +01:00
2024-05-10 11:37:09 +02:00