Normalize url before referer check in the location block