themaninblack@lemmy.world to memes@lemmy.world · 2 days agoCVS stylelemmy.worldexternal-linkmessage-square116fedilinkarrow-up1917arrow-down119
arrow-up1898arrow-down1external-linkCVS stylelemmy.worldthemaninblack@lemmy.world to memes@lemmy.world · 2 days agomessage-square116fedilink
minus-square9point6@lemmy.worldlinkfedilinkarrow-up45·2 days agoBound check all data input, folks. Ideally during input and on the API request.
minus-squareSpezi@feddit.orglinkfedilinkarrow-up38·edit-22 days agoif (str_contains($order['comment'],'Shrek')) { die('ONIONS HAVE LAYERS!'); }
minus-squarefilcuk@lemmy.ziplinkfedilinkarrow-up13·2 days agoPlease implement your Shrek checks responsibly
minus-squareAgent641@lemmy.worldlinkfedilinkarrow-up10·2 days agoTry to make sure the “choose a password” field allows fewer chars than the “enter your password” field.
minus-squarejaybone@lemmy.ziplinkfedilinkEnglisharrow-up12arrow-down1·2 days agoVARCHAR2(256) Yay I fixed it.
Bound check all data input, folks.
Ideally during input and on the API request.
if (str_contains($order['comment'],'Shrek')) { die('ONIONS HAVE LAYERS!'); }Please implement your Shrek checks responsibly
Try to make sure the “choose a password” field allows fewer chars than the “enter your password” field.
VARCHAR2(256)
Yay I fixed it.