After installing dev-db/phpmyadmin-3.1.2 for site www.example.org with webapp-config-1.50.16-r3 I have PMAAbsoluteURI http://www.example.org// (with one extra slash) in /var/www/www.example.org/htdocs/libraries/config.default.php Reproducible: Always Steps to Reproduce: 1. emerge phpmyadmin webapp-config 2. webapp-config -I -h www.example.org phpmyadmin 3.1.2 Actual Results: # /var/www/www.example.org/htdocs/libraries/config.default.php * @global string $cfg['PmaAbsoluteUri'] */ $cfg['PmaAbsoluteUri'] = 'http://www.example.org//'; # with TWO slashes Expected Results: # /var/www/www.example.org/htdocs/libraries/config.default.php * @global string $cfg['PmaAbsoluteUri'] */ $cfg['PmaAbsoluteUri'] = 'http://www.example.org/'; # with ONE slash (or without slashes at all)
Created attachment 184780 [details] log of installation
I have tested this behavior on two machines, with and without [vhosts] flag on dev-db/phpmyadmin. Probably, it will be similar with other versions of it, and with other webapps...