From: Brian C. <B.C...@po...> - 2003-05-31 14:40:18
|
Just spotted this in lib/dbi/utils.rb: def textconv(str) str = str.to_s.gsub('&', "&") str = str.gsub('\'', "'") str = str.gsub('\"', """) # <<<<<<<<<< here str = str.gsub('<', "<") str.gsub('>', ">") end I think that's wrong: it replaces the sequence backslash-doublequote with " - shouldn't it be gsub('"', """) ? Cheers, Brian. |