Re: Problem with special characters in password when using SQLDriverConnect

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Jan-Peter Seifert <Jan-Peter(dot)Seifert(at)gmx(dot)de>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Problem with special characters in password when using SQLDriverConnect
Date: 2013-05-15 15:31:45
Message-ID: 5193AA61.2080708@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi,

(2013/05/13 23:04), Jan-Peter Seifert wrote:
>
> Hello,
>
> if you use SQLDriverConnect instead of SQLConnect the connection fails on special characters like ';', '(', ')' and '+'(?) within the password.
>
> According to the documentation ( http://msdn.microsoft.com/en-us/library/windows/desktop/ms715433%28v=vs.85%29.aspx ) []{}(),;?*=!@ are special characters.
>
> In order to pass the connection string to the driver intact you have to bracket the whole connection string ( or just the values ? - it looks like my English is not good enough for this article ).
>
> There already had been a patch in 09.00.0100 but this problem obviously persists in psqlODBC 09.01.0100 Unicode. Maybe this has been patched in the ANSI version only?

I don't understand why ANSI drivers work.
Could you please try the dll on testing for 9.1.0300 at
http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/index.html
?

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message ljwilson 2013-05-15 23:36:14 Re: Vote Release number of the next.
Previous Message Hiroshi Saito 2013-05-15 14:51:09 Vote Release number of the next.