Fixed redirection to use full URL
Prepared for data-for hack