[Kamailio-Devel] DB_* modules and @ in password.

Henning Westerholt henning.westerholt at 1und1.de
Mon Dec 1 11:08:36 CET 2008


On Monday 01 December 2008, Alex Balashov wrote:
> As far as I can tell, the DB modules I've tested do not deal well with
> '@' in the password due to the use of '@' as a delimeter for the
> "db_url" parameter.  Escaping (\@) and single-quoting the value of the
> "db_url" does not appear to help.

Hi Alex,

yes, this is used in the connection string as a delimiter between the password 
and host. And because of compatibility reasons i see unfortunately no easy 
way to change this. May i ask why do you need to use a '@' in the password? 

Other chars that have a special meaning in the connection string are ':' 
and '/', this should also be avoided.

Cheers,

Henning



More information about the Devel mailing list