ad0277ff175bdacf7ed541b75b1f9fe4bab1d173
- Add `validateAndSanitize` method to `goals_criteria` for input validation and defaulting incorrect values. - Ensure JSON encoding in `response` and database interactions respects Unicode (`JSON_UNESCAPED_UNICODE`). - Sanitize and validate input for `department_goals_o::add` and criteria usage. - Fix header character encoding in response (`Content-Type: application/json; charset=utf-8`). - Update criteria `label` sanitization with trimming, length limits, and safe character handling.
Description
Staging repo for api (CI + promotion to GitHub)
40 MiB
Languages
PHP
93.5%
HTML
3.5%
JavaScript
1.9%
Shell
0.4%
Python
0.3%
Other
0.3%