Keep out invalid referers.