basho/riak_kv — pull request #371 by glickbot (2012-07-23 06:00:01+00:00)
Title: Corrected host token order during referer validation.

The host token order of 'OriginTuple' within 'is_valid_referer(RD)' was backwards. It was checking '1.0.0.127' against '127.0.0.1', or 'com.basho.www' against 'www.basho.com', and thus always failing.