Refactor CookieBanner and Contact API for improved functionality and security

- Removed localStorage fallback from CookieBanner, simplifying consent management.
- Refactored manual review email handling in the Contact API to utilize HTML templates for better structure and security.
- Enhanced email content generation by escaping HTML special characters and using template files for dynamic data insertion.
This commit is contained in:
2025-06-26 22:54:02 +02:00
parent cb64f7f76c
commit 49fabddc96
7 changed files with 226 additions and 235 deletions

View File

@@ -0,0 +1 @@
<p><strong>Email:</strong> {{email}}</p><p><strong>Message:</strong> {{message}}</p><p><strong>Justification:</strong> {{justification}}</p>