Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262237 - app-admin/webapp-config-1.50.16-r3 adds unnecessary extra slash to webapp's absolute URI
Summary: app-admin/webapp-config-1.50.16-r3 adds unnecessary extra slash to webapp's a...
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-12 07:55 UTC by Tim O'Kelly
Modified: 2009-11-20 20:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
log of installation (webapp-config.log,74.72 KB, text/plain)
2009-03-12 07:57 UTC, Tim O'Kelly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim O'Kelly 2009-03-12 07:55:01 UTC
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)
Comment 1 Tim O'Kelly 2009-03-12 07:57:19 UTC
Created attachment 184780 [details]
log of installation
Comment 2 Tim O'Kelly 2009-03-12 08:00:13 UTC
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...