Bug #42452 Upgrade installer from 1.3 corrupts password containing '?' character in ini
Submitted: 29 Jan 2009 14:59 Modified: 2 Mar 2009 17:39
Reporter: Andrii Nikitin
Status: Closed
Category:Monitoring: Install Severity:S3 (Non-critical)
Version:2.0.3.7134 OS:Any
Assigned to: BitRock Merlin Target Version:2.0 maint release

[29 Jan 2009 14:59] Andrii Nikitin
Description:
Actual password 'a?' stored as 'a%3f' (it is probably OK, since it will be used in
connection string).

Before upgrade:
hostname = http://agent:a%3f@localhost:18080/merlin/heartbeat

After upgrade:
agent-mgmt-hostname = http://agent:a%253f@localhost:18080/heartbeat

note '2' and '5' characters appeared

How to repeat:
Install MEM 1.3, Create user 'agent' and password 'a?' during install
Run upgrade installer

Suggested fix:
Make sure problem will not appear in future upgrade installer
[29 Jan 2009 18:21] Marcos Palacios
Thank you for your bug report. 

Verified with agent build 2.0.3.7134 (update installer).
[30 Jan 2009 11:09] BitRock Merlin
Should this issue be fixed for 2.1 and 2.0 versions? Target version field is not set.
[4 Feb 2009 21:14] Andy Bang
We'd like this in both 2.0 and 2.1.
[5 Feb 2009 14:54] BitRock Merlin
Patch sent to Keith.
[9 Feb 2009 23:43] Keith Russell
Patch installed in 2.0 version 2.0.5.7144.  The same patch will be installed in the next
2.1 version on the build.
[19 Feb 2009 22:54] Marcos Palacios
Verified fixed in build 2.0.5.7145.

(Note: The fix is not in bld 2.0.5.7144)

Setting back to 'Patch pending' for testing in the next 2.1 build.
[24 Feb 2009 2:57] Keith Russell
Patch installed in versions => 2.1.0.1011.
[24 Feb 2009 22:04] Marcos Palacios
For the fix tested in 2.0.5.
[2 Mar 2009 12:49] Tony Bedford
Set to QA testing as requested.

Entries have been added to the 2.1.0 and 2.0.5 changelogs:

The installer used to upgrade from version 1.3 corrupted passwords containing the “?”
character.
[2 Mar 2009 17:39] Marcos Palacios
Verified fixed in agent build 2.1.0.1011.

Documentation already done (see above).