test(cors): add comprehensive PublicApiCors middleware tests #21
No reviewers
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
epic
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-api#21
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "test/public-api-cors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closes #8
PublicApiCorsmiddleware covering all CORS behaviourGET, POST, OPTIONSContent-Type, Accept, X-Requested-WithX-RateLimit-*,Retry-After)Access-Control-Max-Age: 3600,Vary: OriginAccess-Control-Allow-Credentialsis intentionally absentTest plan
./vendor/bin/pest --filter=PublicApiCorsand verify all tests pass🤖 Generated with Claude Code