FS#45783 - after forced login should redirect to previously viewed page

Attached to Project: AUR web interface
Opened by Ramana Kumar (xrchz) - Sunday, 26 July 2015, 12:49 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 16 August 2015, 06:35 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.0-rc6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If I am not logged in and visit a package page and click something like vote for this package, I am redirected to a login page. That is fine. However, after I log in, I would like to be redirected back to the package page I was on, and for the action (like voting) to be completed. Neither of those things currently happen, and I am forced to find the package again and click the vote button again.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Sunday, 16 August 2015, 06:35 GMT
Reason for closing:  Works for me
Comment by Jens Adam (byte) - Sunday, 26 July 2015, 16:29 GMT
That is already implemented, see https://projects.archlinux.org/aurweb.git/tree/web/lib/aur.inc.php#n232 but it depends on your browser sending the full referer header for each link you click.
Comment by (Det) - Tuesday, 04 August 2015, 11:01 GMT
 FS#32481  - AUR always lands at homepage after login

Loading...