mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-27 18:49:01 +02:00
Panic on wildcard in Cors builder's allowed_origin() (#114)
* Assert allowed origin in Cors builder * Add panic test for wildcard * Add changelog entry * rustfmt * Apply suggestions from code review Co-authored-by: Rob Ede <robjtede@icloud.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
# Changes
|
||||
|
||||
## Unreleased - 2020-xx-xx
|
||||
* Disallow `*` in `Cors::allowed_origin` by panicking. [#114].
|
||||
|
||||
[#114]: https://github.com/actix/actix-extras/pull/114
|
||||
|
||||
|
||||
## 0.4.1 - 2020-10-07
|
||||
|
Reference in New Issue
Block a user