[web2py] Re: special characters in database credentials

2010-10-20 Thread Josh J
I sent it on monday to your @cs.depaul.edu account On Oct 18, 10:33 am, mdipierro wrote: > can you please email it to me? > > On Oct 18, 10:30 am, Josh J wrote: > > > Hey Massimo, > > > I've taken the initiative and built a patch to allow encoded > > credentials in database URIs. > > > The follo

[web2py] Re: special characters in database credentials

2010-10-18 Thread mdipierro
can you please email it to me? On Oct 18, 10:30 am, Josh J wrote: > Hey Massimo, > > I've taken the initiative and built a patch to allow encoded > credentials in database URIs. > > The following patch adds an additional boolean argument to the SQLDB > initializer called decode_credentials (defau

[web2py] Re: special characters in database credentials

2010-10-18 Thread Josh J
Hey Massimo, I've taken the initiative and built a patch to allow encoded credentials in database URIs. The following patch adds an additional boolean argument to the SQLDB initializer called decode_credentials (defaults to False). The decode_credentials argument is used to build the 'credential_

[web2py] Re: special characters in database credentials

2010-09-30 Thread Josh J
Sure I can provide the patch if you want, Would basically just have to change user = m.group("user") passwd = m.group("passwd") to user = urllib.unquote(m.group("user")) passwd = urllib.unquote(m.group("passwd")) everywhere you parse the credentials. On Sep 29, 11:35 am, mdipierro wrote: >

[web2py] Re: special characters in database credentials

2010-09-29 Thread mdipierro
Ignore my previous email... there is no need with a patch for what you are suggestion...let me think about this some more. On Sep 29, 11:01 am, Josh J wrote: > Hey all, > >         I've found an issue with SQLDB when developing my application. The > URI handling does not allow special characters

[web2py] Re: special characters in database credentials

2010-09-29 Thread mdipierro
I think you are right. Can you send me a patch? Or I ca do it but not today. ;-) On Sep 29, 11:01 am, Josh J wrote: > Hey all, > >         I've found an issue with SQLDB when developing my application. The > URI handling does not allow special characters in database passwords. > Unfortunately, I