cm0002@lemmy.world to Technology@lemmy.worldEnglish · 14 days agoLife isn't easy if your last name is 'Null' as it still breaks database entries the world overwww.pcgamer.comexternal-linkmessage-square44fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1external-linkLife isn't easy if your last name is 'Null' as it still breaks database entries the world overwww.pcgamer.comcm0002@lemmy.world to Technology@lemmy.worldEnglish · 14 days agomessage-square44fedilink
minus-squaresolrize@lemmy.worldlinkfedilinkEnglisharrow-up1·14 days ago/me changes name to '); DROP TABLE STUDENTS; --.
minus-squarefunkajunk@lemm.eelinkfedilinkEnglisharrow-up1·14 days agoOh. Yes. Little Bobby Tables, we call him.
minus-squareZILtoid1991@lemmy.worldlinkfedilinkEnglisharrow-up0·13 days agoAre there character escapes for SQL, to protect against stuff like that?
minus-squaresolrize@lemmy.worldlinkfedilinkEnglisharrow-up1·13 days agoYes but it’s a dangerous process. You should use paramatrized queries instead.
/me changes name to
'); DROP TABLE STUDENTS; --
.Dammit, Bobby!
That boy ain’t right
Oh. Yes. Little Bobby Tables, we call him.
Are there character escapes for SQL, to protect against stuff like that?
Yes but it’s a dangerous process. You should use paramatrized queries instead.