- changed status to open
Issue #32
resolved
For example, if you have set cors.allowOrigin to something like:
cors.allowOrigin=http:/a.com
a null pointer exception is thrown.
In com.thetransactioncompany.cors.ValidatedOrigin, there is a null check for scheme, so there should be a similar check for a null host.
Comments (3)
-
-
- changed status to resolved
Confirmed and fixed in commit 5ba253e.
-
The update was pushed to Maven Central as v2.5.
Enjoy :)
- Log in to comment
Thanks for sharing this issue, I'll add a test to see what's going on.