phpmyadmin/phpmyadmin — pull request #13 by mlr (2012-04-03 01:51:22+00:00)
Title: ForceSSL fix see bug #3510196

This pull request addresses the following bug:

http://sourceforge.net/tracker/?func=detail&aid=3510196&group_id=23067&atid=377408

The two commenters disagree that it is a PHPMyAdmin issue, however I do not agree. The OP's bug report is valid if you consider the fact that users can configure their server to run on a non-standard SSL port. If you have set the PmaAbsoluteUri and reference the non-standard port number in that address, then phpMyAdmin will not use that port when ForceSSL is set to true. This is addressed by keeping the port number in the URL when redirecting to SSL if it exists in PmaAbsoluteUri.

There is also a new config setting available called SSLPort. If that is set, phpMyAdmin will redirect to that port number, otherwise the standard SSL port of 443 will be used.