ConnectString property issue.

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MarkF
Posts: 211
Joined: Thu 02 Mar 2006 14:55

ConnectString property issue.

Post by MarkF » Thu 30 Aug 2007 14:32

Hi Folks!

There's a problem with the ConnectString property and passwords that contain '@' characters. Basically it's using Pos() to get the position of '@' and it needs to use something that will skip a double quoted password (which you need for passwords containing "odd" characters.) So basically the Connectstring could be something like:

scott/"pass@word"@myserver

The function will fail because it will parse out the server part as "word"@myserver"

Let me know if you have questions!

-Mark Ford
Benthic Software

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 31 Aug 2007 08:54

In the next ODAC build we'll add support for quoted username/password in the ConnectString property.

Post Reply