Add CorsRegexEnvProcessor and corresponding tests
- Implemented CorsRegexEnvProcessor to build CORS origin regex from a comma-separated host list (ALLOWED_FRONTEND_HOSTS). - Added tests for CorsRegexEnvProcessor to validate regex generation and matching behavior. - Created JSON files for AST representation of the new classes and tests.
This commit is contained in:
@@ -2240,8 +2240,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"config/packages/nelmio_cors.yaml": {
|
||||
"mtime": 1782933581.6906326,
|
||||
"ast_hash": "c552214796d17d0d2a94154346b2afa8",
|
||||
"mtime": 1783423349.9111028,
|
||||
"ast_hash": "cf61699b7fc9ff8921d28d0c735361a1",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"config/packages/property_info.yaml": {
|
||||
@@ -2995,8 +2995,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"docker/gen-cors-env.php": {
|
||||
"mtime": 1782410159.2191367,
|
||||
"ast_hash": "aa2b2af54e520f8e6d446dd328f6d54d",
|
||||
"mtime": 1783423497.5513937,
|
||||
"ast_hash": "bf59fa3835df846b483890f63a369755",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"docker/healthcheck.sh": {
|
||||
@@ -3703,5 +3703,20 @@
|
||||
"mtime": 1783066913.0879276,
|
||||
"ast_hash": "074cb84109dd212089ba2b5397e9b3ed",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Shared/DependencyInjection/CorsRegexEnvProcessor.php": {
|
||||
"mtime": 1783423339.918379,
|
||||
"ast_hash": "1fe5ad4d178ba633fe0a1c1d7c830e2e",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"tests/Shared/CorsRegexEnvProcessorTest.php": {
|
||||
"mtime": 1783423530.411102,
|
||||
"ast_hash": "67be8d92badcc2506649af90503cfc0c",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
".claude/prompt/cors-regex-from-hosts-coolify-safe.md": {
|
||||
"mtime": 1783423233.682262,
|
||||
"ast_hash": "21ec0778cfc1438f1f8a55c8c0adf55f",
|
||||
"semantic_hash": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user