if admin password is "", you can't import a password.txt file

Description

if you delete the entry, it works, but if you set "hspw" to empty, it doesn't import the file

it shows the import password from file screen, but doesn't read it

https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/config/ConfigWebFactory.java#L574

needs an additional, is string empty check, rather than just does the key exist check

Environment

None

Activity

Pothys - MitrahSoft 13 April 2021 at 07:53

This issue was solved in lucee fixed version 6.0.0.88-SNAPSHOT. So I marked this ticket as deployed.

Zac Spitzer 12 April 2021 at 15:05

Pothys - MitrahSoft 12 April 2021 at 11:59

I've checked this ticket and confirmed the issue happened on lucee latest build 6.0.0.86-SNAPSHOT also. If we set hspw="" in cfconfig.json, the admin login page shows No Password set yet. And try to import password.txt but it doesn't import the password.

I added a fix to this ticket
Pull Request: https://github.com/lucee/Lucee/pull/1276

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Created 10 April 2021 at 13:09
Updated 27 April 2022 at 16:58
Resolved 13 April 2021 at 07:53