Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
skottk
· 2y ago · 0 comments
Parameterized SQL is your friend here.
Comments
[–]
mysterydip
2y ago
Yeah, that's what's mapped in my head to "sanitizing input" in these cases, as it's the correct way to handle them. I should've unrolled my brain shortcut for the discussion.
[–]
dylan604
2y ago
Before Parameterized SQL was a thing, sanitizing was the thing. There’s a lot of escape_string() type of methods out there.