mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-13 05:47:23 -04:00
- Introduce `valid_path_strict` rule in `OSPOSRules` to enforce stricter path validation, preventing security issues like injection attempts with newline or special characters. - Update mail configuration validation in `Config` controller to use the new rule for the `mailpath` field. - Add unit tests in `OSPOSRulesTest` to cover edge cases for `valid_path_strict`. Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>