Any idea of why the next code returns the referer in development and production mode in my local computer and in development mode in the server, but not in production mode in the server?
$this->getRequest()->headers->get('referer');
Firefox is sending the referer, so I don't understand why I am getting no value.