try to get the Referer from the HTTP headers too git-svn-id: https://svn.eprints.org/eprints/branches/3.3/system@7328 9491667e-5006-0410-a446-efbe8990b998