rkh/rack-protection — pull request #74 by statianzo (2014-01-23 22:32:17+00:00)
Title: Discard invalid Referer header

If an invalid Referer header is passed, the value is discarded and the Host header fallback is skipped. This also prevents the InvalidURIError when an invalid header is passed (see related #61).