-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcard support for AllowedHeaders or add AllowedHeadersFunc #179
Comments
This seems like an odd use case to me...
Another consideration: security. What if an adversary spoofs a preflight request that contains the following header? Access-Control-Request-Headers: X-Header-followed_by_a_very_looooooooooooong_character_sequence Allowing all header names of the form |
@kilgaloon Any further comment? Can we close this issue? |
@rs Without feedback from the OP, and in light of a recent comment of yours, I'm inclined to reject this suggestion. |
I don't see a support that we can specify something like
X-Header-*
. I think this can be useful for some use cases. Maybe it would be good to add support for the wildcard or provide the func similar to theAllowOriginFunc
.The text was updated successfully, but these errors were encountered: