NullPointerException is thrown when there is an invalid origin defined

Create issue
Issue #32 resolved
Former user created an issue

For example, if you have set cors.allowOrigin to something like:


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)

  1. Log in to comment