Unverified Commit 600cad08 authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

fix(ws server): support `*` in host and origin filtering (#781)



* initial rewrite to re-use HTTP access control

* clean things up

* Update core/src/error.rs

* Update core/src/error.rs

* allow origin: add back removed Display impl

* cleanup again

* Update http-server/src/lib.rs

* Update examples/examples/cors_server.rs

* Update core/src/server/access_control/mod.rs
Co-authored-by: default avatarTarik Gul <47201679+TarikGul@users.noreply.github.com>

* Update http-server/src/server.rs
Co-authored-by: default avatarTarik Gul <47201679+TarikGul@users.noreply.github.com>

* fix bad comment

* remove todo

* fix grumbles

* more grumbles

* rename and document a bit

* remove `Access-Control-Allow-Origin` in whitelist

* fix nit: pub(super)

* fix bad naming
Co-authored-by: default avatarTarik Gul <47201679+TarikGul@users.noreply.github.com>
parent 6888804f
Pipeline #198342 passed with stages
in 6 minutes