Bug 977236: Use referrer for application reputation checks (r=gcp)