PMA behind loadbalancer wrong redirect to port 80
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpmyadmin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
if we open https:/
This bug was apparently already described in the bug reports #3538, #3692, #3704 and #4120 but either closed as fixed or invalid.
We use the latest version from the Ubuntu 12.04 repository: 4:3.4.10.1-1
The problem is that we use a loadbalancer in front of the webservers to distribute the load and to terminate the SSL connections. User-to-
$cfg['PmaAbsolu
$cfg['ForceSSL'] = true;
but in libraries/
// Add port, if it not the default one
if (! empty($url['port'])
&& (($url['scheme'] == 'http' && $url['port'] != 80)
|| ($url['scheme'] == 'https' && $url['port'] != 443))) {
}
Deleting those lines fixed the issue for us. But with the next upgrade from the Ubuntu repository we will run into the same problem if this is not fixed...
Just created the same bug report at the upstream project: https:/
Status changed to 'Confirmed' because the bug affects multiple users.