Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escape non ascii characters when saving data to DB #1

Open
valearna opened this issue Aug 19, 2020 · 0 comments
Open

escape non ascii characters when saving data to DB #1

valearna opened this issue Aug 19, 2020 · 0 comments
Assignees

Comments

@valearna
Copy link
Collaborator

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

@valearna valearna self-assigned this Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant