?
Related to # 19204
avatar caru80
caru80
2 Jan 2018

Steps to reproduce the issue

Perform a clean install. In step 3 enter a database user password with an ampersand like: ab&cdefg

Expected result

The password should get stored.

Actual result

The password stored in configuration.php has been stripped from the ampersand to the end.

System information (as much as possible)

super@webserver ~ $ uname -a
Linux webserver 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

super@webserver ~ $ apache2 -v
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-09-18T15:09:02

super@webserver ~ $ mysql --version
mysql Ver 15.1 Distrib 10.0.31-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

super@webserver ~ $ php -i | grep mysqli
/etc/php/7.1/cli/conf.d/20-mysqli.ini,
mysqli
mysqli.allow_local_infile => On => On
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => no value => no value
mysqli.default_user => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.reconnect => Off => Off
mysqli.rollback_on_cached_plink => Off => Off
API Extensions => mysqli,pdo_mysql

super@webserver ~ $ php --version
PHP 7.1.12-3+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Dec 14 2017 15:37:13) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.12-3+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies

Additional comments

avatar caru80 caru80 - open - 2 Jan 2018
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jan 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Jan 2018
avatar caru80 caru80 - change - 2 Jan 2018
Title
Installer strips database password with ampersand
[4.0] Installer strips database password with ampersand
avatar caru80 caru80 - edited - 2 Jan 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Jan 2018

can you please look at #19204 if this is a duplicated Report?

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Jan 2018
Category Authentication
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Jan 2018
Status New Information Required
avatar brianteeman
brianteeman - comment - 2 Jan 2018

@franz-wohlkoenig its a different issue as this is the database password not the joomla password

avatar caru80
caru80 - comment - 2 Jan 2018

Both issues seem to be connected. A Joomla user password with an ampersand also gets stripped. If I enter a "+" in the Db user or joomla user password field, the "+" is replaced with an empty space.

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Jan 2018
Status Information Required Discussion
Rel_Number 0 19204
Relation Type Related to
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Jan 2018
Category Authentication Authentication JavaScript
avatar caru80 caru80 - change - 2 Jan 2018
The description was changed
avatar caru80 caru80 - edited - 2 Jan 2018
avatar Anu1601CS
Anu1601CS - comment - 3 Jan 2018

@franz-wohlkoenig here also change build to 4.0-dev Thanks


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19251.

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jan 2018
Build staging 4.0-dev
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jan 2018

@Anu1601CS done.

avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar SharkyKZ
SharkyKZ - comment - 1 Jun 2018

Fixed with #20414.

avatar joomla-cms-bot
joomla-cms-bot - comment - 1 Jun 2018
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-06-01 08:09:52
Closed_By joomla-cms-bot
avatar franz-wohlkoenig franz-wohlkoenig - change - 1 Jun 2018
Closed_By joomla-cms-bot franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - close - 1 Jun 2018
avatar joomla-cms-bot joomla-cms-bot - unlabeled - 1 Jun 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Jun 2018

closed as stated above.

Thanks for Hint @SharkyKZ


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19251.

Add a Comment

Login with GitHub to post a comment