Roundcube Community Forum

 

0.2.2 escape dbname

Started by agrajag, July 16, 2009, 03:19:32 PM

Previous topic - Next topic

agrajag

Hi guys,

there is a bug in the handling of dbnames (at least mysql, dont know if other dbs are affected too). If the dbname contains a "@" roundcube can't connect to the database. Unfortunately my hoster adds a @ into each dbname so I had to edit a lot of roundcube php files and hardcoded my dbname ;)
But it would be the best if the dbname gets correctly escaped etc

Thanks,
agrajag

P.S I'm using roudcube 0.2.2 not 0.2.1 but i cant select it :S

JohnDoh

Hi, have you tried using %48 inplace of the @ in the dbname? see Manual :: The Data Source Name
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

agrajag

Quote from: JohnDoh;20113Hi, have you tried using %48 inplace of the @ in the dbname? see Manual :: The Data Source Name

I tried %40 because it was used in the username but it didnt worked... Are u sure its %48?

JohnDoh

Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...