The word, used by computer scientists to mean ‘no value,’ has created long-running challenges
einkorn ( @einkorn@feddit.org ) 60•1 month agoWhen Your Last Name Is Null, Nothing Works
No, when people DON’T PROPERLY SANITIZE THEIR USER INPUT, nothing works!!!
Looks like little Bobby Tables has some extended family.
remotelove ( @remotelove@lemmy.ca ) 18•1 month agoWho the hell writes
if 'null'
? If it’s a thing, what language would interpret a string like that? ursakhiin ( @ursakhiin@beehaw.org ) 6•1 month agoI’d bet it’s less simple input sanitizing and more 2 mistakes made separately because they don’t know any better.
- The input field converting everything to a string indiscriminately
- Because they did 1, converting everything back to the assumed type
If the front end Dev makes the first mistake, null would be sent in the body as “null”. Then on the backend, somebody might even be binding the variables correctly, but before hand realizing they have to deal with the market and rather than just have a conversation undoes it in their own code.
Fonzie! ( @lord_ryvan@ttrpg.network ) 1•1 month agoIt’s fine in PHP, so that catches most server backends.
Ruby as well, it even raises a warning about the string where a bool should be!
Python handles it just fine, as well.
Rust doesn’t allow it, depending on the backend framework and server software this might give issues.
So depending on how this is handled a C# or Rust backend might cause the name not to be stored, but then I’d expect nothing to be stored… :/
infeeeee ( @infeeeee@lemm.ee ) 9•1 month agoThis topic pops up in random news sites like every 5 years, and usually the conclusion is people with these names have less and less problems, as systems evolve.
Nowadays names which looks like some vulgar words cause more problems, it’s called the Scunthorpe problem from the city of Scunthorpe. As this is a shitty article, this actual problem is not even mentioned, classic.
y0kai ( @y0kai@lemmy.dbzer0.com ) English3•1 month agoLol one of the characters in my D&D group is named Farthard (pronounced Far-thard) and his steed is named Shithead (pronounced Sha-theed)
Amputret ( @Amputret@lemmy.dbzer0.com ) 8•1 month agoAnyone got a non-paywall link? I’m changing my name soon and this is highly relevant to my interests.
katy ✨ ( @cupcakezealot@lemmy.blahaj.zone ) 7•1 month agolittle bobby null
T (they/she) ( @Templa@beehaw.org ) 2•1 month agohttps://archive.ph/2gDhN also works
0x0 ( @0x0@programming.dev ) 5•1 month agoThis seems to be old news, and paywalled.
Edit: gee, thanks MSN. The article i’d read was about the license plate.
Morgan Null, in black, with her parents and brother, all Nulls. lol
Not that rare of a name apparently…
PhobosAnomaly ( @PhobosAnomaly@feddit.uk ) 3•1 month agoTaking the issue at face value, I wonder what Johnny Null’s workaround would be for his (or their) name?
N’ull? Nul-l? \Null? Null? JohnnyN ull?
drunkosaurus ( @drunkosaurus@lemmy.dbzer0.com ) English9•1 month agoDefinitely not N’ull, that would trigger a SQL error when it can’t interpret the ull after the string delimiter.
brvslvrnst ( @bravesilvernest@lemmy.ml ) 6•1 month agoIf they’re not sanitizing that, they deserve to have their system broken lol
0x0 ( @0x0@programming.dev ) 2•1 month ago--Null