News for hackers. Stuff that matters.
Re:A real case of Bobby Tables? by rpigab on Monday December 04, 2023 @04:01PM (#38522980)
In France, in 2004, a law was made to permit joining 2 family names together when parents want their child to have both last names, joined by not one, but two hyphens "--".

This lasted about 5 years before it was reversed. I met someone who had this in her last name and thought she was yanking my chain.

I'm so sorry my country did this.

Here is something in French that mentions the law, I couldn't easily find the original law online:

https://www.senat.fr/questions/base/2011/qSEQ110418181.html

Now that I think about it, it's entirely possible that it caused some issues with SQL.

Re:A real case of Bobby Tables? by hot_gril on Monday December 04, 2023 @05:36PM (#38524148)
Hm, even doing SQL parameterization the wrong way (with dumb string joins), it shouldn't be an issue on its own. The real issue is names like O'Connell.
Re:A real case of Bobby Tables? by rpigab on Tuesday December 05, 2023 @01:20AM (#38527695)
I know, the quotes must be there and will ignore anything inside, but with SQL misuse, you never know! Someone is probably using it in a worse way than any sane person would think possible.