[FIX] Fix the issue withe percu.

This commit is contained in:
NADAL Jean-Baptiste
2026-09-15 12:11:32 +02:00
parent 71d3b71362
commit 46b2d0630e
7 changed files with 116 additions and 17 deletions
+2 -2
View File
@@ -172,7 +172,7 @@ rm -f /tmp/rate_* 2>/dev/null # clear rate limiting fir
php tests.php
```
- Expected: **183/183 tests passed (100%)**.
- Expected: **185/185 tests passed (100%)**.
- Covers: auth (login, bad credentials, missing/invalid token), scores CRUD,
create-score-with-pieces, files tree, path traversal, rate limiting, upload
validation, INI injection, security headers.
@@ -346,7 +346,7 @@ joined by `+` (e.g. `contrebasse-sib-clefa-1+baryton-sib-clefa-1`). See `NAMING.
- [ ] CORS origins restricted to the real domains (no wildcard fallback).
- [ ] HTTPS enforced in production.
- [ ] Rate limiting active (clear `/tmp/rate_*` only in tests, never in prod).
- [ ] `php tests.php` passes 183/183.
- [ ] `php tests.php` passes 185/185.
- [ ] `npm audit` reviewed.
- [ ] No secrets in code or git history.