dresende/node-orm — Issue #14: Quoted Value Santization Issue (mySQL)
Author: tingham
Created: 2011-12-02 23:42:52+00:00
State: open

While implementing I noticed a show-stopper when attempting to write a value that included two single quotes. Debugging revealed that apparently only one of the quotes was being properly escaped.

I've implemented a fix that seems to work for me:

https://github.com/tingham/node-orm/commit/46110a7eb0cec74bede5b27a6917d28d7bbf5aab

I'd love to get some feedback on it - no idea if I'm being narrow-minded in my work around.

Thanks,

Thomas