← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 887057] [NEW] resource-table-generation-does-not-escape-unsafe-characters

 

Hi Lars. Thanks for the fix. Will test and let you know.

Regards,
Jason
On Nov 15, 2011 6:53 PM, "Lars Helge Øverland" <larshelge@xxxxxxxxx> wrote:

> Hi Jason,
>
> you are correct. For some very weird reason we had chosen to make an
> exception for postgres and escape single-quote with a backslash, while
> doubling it ( '' ) is the standard and preferred way in sql. Hence it
> did not only affect resource tables but all places we do direct sql. I
> have fixed this now in trunk. Would be grateful if you could give it a
> try now and see if it works properly. Thanks for reporting.
>
> Lars
>

References