This check 'request.env["HTTPREFERER"] != request.env["REQUESTURI"]' is required to avoid multiple calls to the same url.
This check 'request.env["HTTPREFERER"] != request.env["REQUESTURI"]' is required to avoid multiple calls to the same url.