$this->getRequest()->headers->get('referer') won't work
also
$this->getRequest()->server->get('HTTP_REFERER');
i know that i shouldn't rely on it, but it's just for customized appearance and a framework needs to support that.
Try this.
$this->getRequest()->server->get('REFERER');
nope, but i'm starting to think it's a server issue.
sorry for not checking it before opening the ticket.
thanks
$request->server->get('HTTP_REFERER')
works for me.
Most helpful comment
$request->server->get('HTTP_REFERER')
works for me.