this post was submitted on 24 Feb 2025
3 points (100.0% liked)

Technology

72425 readers
2530 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] undefined@lemmy.hogru.ch 2 points 4 months ago (3 children)

I’ve been doing web development for something like 20 years now and I just can’t imagine how shitty your backend is if this is an issue.

[–] timuchan@lemm.ee 1 points 4 months ago (1 children)

This was my thought as well, sanitize your inputs! Are they not quoting/casting to string before input?

[–] undefined@lemmy.hogru.ch 2 points 4 months ago (2 children)

Unless you’re coding from scratch it’s hard to not do this with any modern framework.

[–] limer@lemmy.dbzer0.com 2 points 4 months ago

Legacy systems still handle more traffic than modern ones, I’d wager

[–] limer@lemmy.dbzer0.com 1 points 4 months ago (1 children)

Word press code, and plugins, do not sanitize out of the box. You have to call an additional function, each time, that is not provided automatically. Many home made plugins miss that; many popular plugins used to be home made ones

[–] PixelTron@lemm.ee 1 points 4 months ago (1 children)

Wordpress is a sin against mankind.

[–] Atherel@lemmy.dbzer0.com 1 points 4 months ago* (last edited 4 months ago) (1 children)

Let's take a blog and slap a whole e-commerce system on it through a plugin and let it auto translate with another one, what could go wrong. wait why is everything so slow, oh i need additional plugins for caching and one more for functionality XYZ why is everything broken now?!?

Edit: Sorry, my app had a hiccup and posted my comment several times

[–] narc0tic_bird@lemm.ee 1 points 4 months ago

Maybe your app is based on WordPress :'D

[–] Dasus@lemmy.world 1 points 4 months ago

With LLM coding increasing, it might be going up. Idk am no pro, just worried.

Tangential, but I find it hilarious how Gemini's syntax fucks up all the time.

I ask it to change my light called "CX2" to red. It complies, like usual, and it reads Okay, changing "CX2" to red., but what it says out loud is Okay, changing "CX two inches to red.

[–] livingcoder@programming.dev 1 points 4 months ago

It happened to a friend who wasn't passing in the proper types into their stored procedures, all strings, and "null" (not case sensitive) conflicted with actual null values. Everything in the web interface were strings, and so was null.

For some people it takes this mistake before they learn to always care about the data types you're passing in.