Scenario:
Added AllowOriginFunc: to validate custom domain.
If curl with -H "Origin: somthing" :::: This call is allowed and the origin validator func is called but not honored.
Call to validate the origin is present in handleActualRequest(); however when a curl request is sent with origin in header it simply allows the call to complete. Should it stop when AllowOriginFunc returns false ???
Scenario: Added AllowOriginFunc: to validate custom domain.
If curl with -H "Origin: somthing" :::: This call is allowed and the origin validator func is called but not honored.
Call to validate the origin is present in handleActualRequest(); however when a curl request is sent with origin in header it simply allows the call to complete. Should it stop when AllowOriginFunc returns false ???