cyu/rack-cors — pull request #11 by teleological (2012-10-22 12:31:28+00:00)
Title: Support "file://" as configurable origin

rack-cors converts a "null" (string) HTTP_ORIGIN, representing a CORS request originating from a filesystem-loaded page, into "file://", but it is not currently possible to configure such requests to be allowed for non-public resources. This patch makes that possible.