BUG #16857: Postgres Installer fails when user inserts slash / in password field

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #16857: Postgres Installer fails when user inserts slash / in password field
Дата
Msg-id 16857-9db27442522df8c4@postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16857
Logged by:          Johnny Doughy
Email address:      face151@windowslive.com
PostgreSQL version: 13.1
Operating system:   Win 10 - 64bit
Description:

When the installer "postgresql-13.1-1-windows-x64.exe" prompted me to enter
a password I entered ////

The installer then shows an error message at the end: "Problem running
post-install step. Installation may not complete correctly
The database cluster initialisation failed."

After checking the installer log file "install-postgresql.log" I found
this:

Script output:
 Input Error: Unknown option "////" specified.

On a new installation attempt, I then chose to enter a different password
with no slashes and the installer succeeded without any errors.

Also, the log file shows "initcluster.vbs ran to completion" which suggests
that "initcluster.vbs" failed the first time because of the given password
////.

My assumption is that the forwards slashes were seen as a path by windows
when the installer executes "initcluster.vbs" "username" "////"

Proposed solution:
Do not allow the user to enter a forward slash in the password field in the
installer.


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Piotr Włodarczyk
Дата:
Сообщение: Re: SV: Problem with pg_notify / listen
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SV: Problem with pg_notify / listen