-
Couldn't load subscription status.
- Fork 527
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Hi,
Access Control Allow headers should allow the value '*' for wildacard https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Headers but the regex in the CORS plugin does not allow that
| "regex": "^(\\*|(?![, ])(,? ?([\\w\\-]+))*)?$", |
Moreover on the UI if you set a '*' in the 'Access-Control-Allow-Headers value' my chrome tab is crashing.
How to reproduce?
start a simple instance with bunkerweb ui and try to add a '*' in the 'Access-Control-Allow-Headers value' field, the tab crash and/or it's rejected by the regex.
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.6.4
What integration are you using?
Docker
Linux distribution (if applicable)
Synology
Removed private data
- I have removed all private data from the configuration file and the logs
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working