Bug #5454
closed2.3 alpha - system_advanced_admin.php - webgui redirect/reload test doesn't work, ignores port config unchanged
0%
Description
The page should only redirect when the IP, port or SSL status has changed, but it always redirects even when they don't.
Test:
Go to the page.
Change something trivial (I changed the "display page name first" setting)
save
result - "One moment...redirecting to https://IP:PORT/system_advanced_admin.php in 20 seconds" even though the webgui URI hasn't changed and the code should only result in a redirect action of this kind when it changes?
Updated by Anonymous about 9 years ago
- Status changed from New to Confirmed
- Assignee set to Anonymous
- Target version set to 2.3
- Affected Version set to 2.3
I observed the same behavior last week before adding the "Web GUI CSS" selector and added it to my list. I should be able to get to it in the next couple of days.
Updated by Stilez y about 9 years ago
At the same time, maybe add a direct link "...or click here to immediately reload..." (or the link itself made a hyperlink) so the 20 second pause can be shortcutted?
Updated by Anonymous about 9 years ago
- Status changed from Confirmed to Resolved
Code around: $_POST['webgui-redirect'] restarted the webgui if the value was 'yes', or if it was not :) Changed it to restart only if the value has changed WRT to the current value.