The above fix assumes we should only do referer-based redirect if the referring URL is part of the TPAC.
The above fix assumes we should only do referer-based redirect if the referring URL is part of the TPAC.