How safe is helpers concat against SQL injections #887
ilijaNL
announced in
Announcements
Replies: 1 comment 2 replies
-
SQL injection is the issue with bad query-parameter escaping, when values are concatenated. This does not extend to queries as such, because you do not pass entire queries as URL parameters, but if you do - the flaw is then by design, no safety there. Please use StackOverflow or Discussions ere for questions. This is for issues/bugs only. Moving it to Discussions now. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am currently using pgp.helpers.concat to batch up mutation queries (insert, update, delete) to reduce roundtrips, however since the string is concated into 1 single query without paramaters I wonder how safe it is against SQL injections?
Beta Was this translation helpful? Give feedback.
All reactions