Bug 13081 - Backlink leads not to the previous page
Summary: Backlink leads not to the previous page
Status: NEW
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - Aesthetic Issue
Assignee: Assigned to nobody - feel free to grab it and work on it
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 11:31 UTC by First Name Last Name
Modified: 2023-05-26 14:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.