alanthing - 2014-12-05

For what it's worth, if I remove the ":80" from the post-login URL, I am able to log in just fine. The session initiates alright and everything, PMA just incorrectly guesses the wrong port number.

Perhaps some logic added to libraries/Config.class.php is the X-Forwarded-Proto=https header/value is found, that would take care of it; something like the following but for setting the port number?:

if ( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') )
  $_SERVER['HTTPS']='on';
 

Last edit: alanthing 2014-12-05