[Opensource] DBObjects, postgres and backslash

Michael Rimov rimovm at centercomp.com
Fri Nov 15 14:49:14 PST 2002


At 10:40 AM 11/15/2002 -0500, you wrote:
>I'll preface my question with the fact that I am still using 4.02 until things
>are stable (in my application). If this is solved in 5, just let me know.

It is... Backslashes and single quotes will get stored properly in the 
database.

If you cannot upgrade, check out the code for

         com.jcorporate.expresso.core.db.DefaultEscapeHandler


It's about 5 lines, so you could always apply it to your controller code if 
you need some specific filtering.

HTH,
                                                 -Mike





More information about the Opensource mailing list