diff options
Diffstat (limited to '')
| -rw-r--r-- | src/web/helpers/sanitize.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/web/helpers/sanitize.php b/src/web/helpers/sanitize.php deleted file mode 100644 index 495c249..0000000 --- a/src/web/helpers/sanitize.php +++ /dev/null @@ -1,8 +0,0 @@ -<?php /* Copyright (c) 2024 Freya Murphy */ - -function esc(string $data): string { - $data = str_replace('&', '&', $data); - $data = str_replace('<', '<', $data); - $data = str_replace('>', '>', $data); - return $data; -} |