diff options
| author | ilotterytea <iltsu@alright.party> | 2025-03-20 02:59:53 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-03-20 02:59:53 +0500 |
| commit | 3eff0dc4b39dc2f0d5bb5b0b13417fe9aa876c48 (patch) | |
| tree | e2cbd8669b292a88998b14db5fa6f68e38d1d573 /lib | |
| parent | f3e0c1a833fac6982d524df172ee61f220492d42 (diff) | |
feat: check file size
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/utils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.php b/lib/utils.php index af8cc2f..2dab763 100644 --- a/lib/utils.php +++ b/lib/utils.php @@ -9,7 +9,7 @@ function json_response(mixed $data, string|null $message, int $code = 200) 'status_code' => $code, 'message' => $message, 'data' => $data - ]); + ], JSON_UNESCAPED_SLASHES); } function generate_random_char_sequence(array $chars, int $length): string |
