Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#31882 - Use POST-Redirect-GET on package submission
Attached to Project:
AUR web interface
Opened by Marcel Korpel (Marcel-) - Wednesday, 10 October 2012, 15:03 GMT
Last edited by Johannes Löthberg (demize) - Saturday, 04 July 2015, 00:22 GMT
Opened by Marcel Korpel (Marcel-) - Wednesday, 10 October 2012, 15:03 GMT
Last edited by Johannes Löthberg (demize) - Saturday, 04 July 2015, 00:22 GMT
|
DetailsWhen returning to the page that was displayed after package submission (e.g., to read an error message), one is confronted with a dialog about resending a POST form to the server. This can be circumvented by using the POST-Redirect-GET pattern when displaying package submission results. E.g., you can save a message in a session variable and output that one at the GET stage.
http://en.wikipedia.org/wiki/Post/Redirect/Get |
This task depends upon
Closed by Johannes Löthberg (demize)
Saturday, 04 July 2015, 00:22 GMT
Reason for closing: None
Additional comments about closing: No longer applicable with the move to Git.
Saturday, 04 July 2015, 00:22 GMT
Reason for closing: None
Additional comments about closing: No longer applicable with the move to Git.
?mess=1
where 1 is for instance "package upload succesful" (in any language).
For comments, this should be even more easy to implement, because the new comment will have been added to the comment list.