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