From: Michael N. <mne...@nt...> - 2003-05-31 16:05:48
|
On Sat, May 31, 2003 at 03:41:39PM +0100, Brian Candler wrote: > 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('"', """) ? That's indeed a bug. Thanks! Fixed! Regards, Michael |