escape non ascii characters when saving data to DB
valearna opened this issue · comments
From email conversation with Juancarlos on escaping chars in old form:
Valerio, just FYI, I'm using
use URI::Escape;
And before adding a value to postgres, I'm
$value = uri_unescape($value);
as well as the previous
if ($value =~ m/'/) { $value =~ s/'/''/g; }
to escape singlequotes
We need to implement a similar function for the new GC tool