Skip to content

v1.1.0

Compare
Choose a tag to compare
@jdesrosiers jdesrosiers released this 06 Oct 01:48
· 5 commits to master since this release

This version changes the behavior when an origin is not allowed. Previously, it returned the value "null" for Access-Control-Allowed-Origin. Although this is compliant with the specification, it seems that there are ways that this can be exploited to grant access when it should not be granted.

Therefore, this implementation now responds with no Access-Control headers if the origin is not allowed. Thanks to @Akcbryant for making this happen.