netty5/codec-http
Gustavo Fernandes f874a37ecb Fixes NPE in Corshandler for unauthorized prefligt requests (#7865)
Motivation:
NPE in `CorsHandler` if a pre-flight request is done using an Origin header which is not allowed by any `CorsConfig` passed to the handler on creation.

Modifications:
During the pre-flight, check the `CorsConfig` for `null` and handle it correctly by not returning any access-control header

Result:
No more NPE for pre-flight requests with unauthorized origins.
2018-04-13 14:36:45 +02:00
..
src Fixes NPE in Corshandler for unauthorized prefligt requests (#7865) 2018-04-13 14:36:45 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2018-04-04 10:44:46 +00:00