Project

General

Profile

Actions

Bug #13591

closed

Changing the GUI port does not redirect the browser to the new port on save

Added by Marcos M about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Low
Category:
Web Interface
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:

Description

Under System / Advanced / Admin Access, changing the TCP port and clicking Save shows a message that the page is being redirected. However, the connection simply times out and the redirect to the new port does not happen.

Actions #1

Updated by Christian McDonald about 2 years ago

  • Assignee set to Christian McDonald
  • Plus Target Version set to 23.01
  • Affected Version set to 2.7.0

I suspect that this has been broken for a while now. The issue is caused by a malformed meta tag being inserted at the bottom of the advanced admin access page that is missing the $url variable. This variable is only known inside the post handler function doAdvancedAdminPost which does correctly insert the refresh meta tag earlier in the page following a successful POST.

Fixed in https://gitlab.netgate.com/pfSense/pfSense/-/commit/5479fd1ca4c9cbdb764b34361f1d48cace1a204f

Actions #2

Updated by Christian McDonald about 2 years ago

  • Status changed from New to Feedback
Actions #3

Updated by Christian McDonald about 2 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Marcos M about 2 years ago

  • Status changed from Feedback to Resolved

Tested patch on 22.11.a.20221021.0600. Now works correctly.

Actions #5

Updated by Jim Pingle about 2 years ago

  • Subject changed from Changing WebGUI port does not redirect to new URL with the new port. to Changing the GUI port does not redirect the browser to the new port on save

Updating subject for release notes.

Actions #6

Updated by Jim Pingle about 2 years ago

  • Target version set to 2.7.0
Actions

Also available in: Atom PDF