Bug 13081

Summary: Backlink leads not to the previous page
Product: IPFire Reporter: First Name Last Name <bnacht>
Component: ---Assignee: Assigned to nobody - feel free to grab it and work on it <nobody>
Status: NEW --- QA Contact:
Severity: Aesthetic Issue    
Priority: - Unknown - CC: michael.tremer
Version: 2   
Hardware: unspecified   
OS: Unspecified   

Description First Name Last Name 2023-04-12 11:31:27 UTC
URL: https://<FQDN>:444/cgi-bin/logs.cgi/firewalllog.dat
If you click an address in the source column and are directed to the whois page, there is a << link at the very bottom of that page. But this does not jump you back to the firewall log but redirects you to the ipfire WebUI home page.
Comment 1 Michael Tremer 2023-04-12 13:39:22 UTC
@Leo, would you like to pick this one up?
Comment 2 Leo Hofmann 2023-04-13 14:57:35 UTC
@Michael, I have investigated this, this link cannot be generated correctly by the CGI at all.

firewalllog.dat is a POST form. To go back there you have to use the "back" button of the browser (or Javascript), otherwise the POST data will be discarded.

I can rewrite this button in JS using history.back(). Should I add a safeguard so that people don't accidentally leave the web interface when there are other pages in the browser history?
Comment 3 Michael Tremer 2023-05-26 14:30:08 UTC
Thank you for looking into this.

If we cannot really make it work well, how about we simply remove the Back button? It is pretty much useless.