this post was submitted on 16 Nov 2024
1098 points (99.0% liked)

Programmer Humor

27913 readers
1829 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] vordalack@lemm.ee 20 points 1 year ago

It's time to log off and get a vasectomy

[–] rekabis@lemmy.ca 19 points 1 year ago* (last edited 1 year ago) (10 children)

A line break is a non-printable character. So it would only work in the scope of electronic storage. The minute it hits other media, the line break character is subject to how that media handles it’s presence, and then it is lost permanently from that step forward.

Plus, many input forms make use of validation that will just trim anything that isn’t a character or number, removing the line break character.

load more comments (10 replies)
[–] EtherWhack@lemmy.world 17 points 1 year ago (1 children)

What about an open bracket? (

[–] fsr1967@lemmy.world 14 points 1 year ago (5 children)
load more comments (5 replies)
[–] OhStopYellingAtMe@lemmy.world 15 points 1 year ago

Always sanitize your Data inputs.

Anyone remember when Chrome had that issue with validating nested URL-encoded characters? Anyone for John%%80%80 Doe?

[–] humanspiral@lemmy.ca 11 points 1 year ago (2 children)

Am I allowed to include sql command words such as drop table in my child's name?

[–] owenfromcanada@lemmy.world 12 points 1 year ago

Simmer down, Bobby

load more comments (1 replies)
[–] x4740N@lemm.ee 10 points 1 year ago

I'm not american and I'm glad I'm not but intended if someone could enter a bunch of zero width spaces

[–] bandwidthcrisis@lemmy.world 9 points 1 year ago (2 children)

Unix or dos format?

Anyway, you probably need to put a backslash before it to indicate line continuation.

But wouldn't it be better to use something more traditional, such as ?

load more comments (2 replies)
[–] chaitae3@lemmy.world 9 points 1 year ago

Apparently no-one did it yet, so I'll name my child +++ATH0

load more comments
view more: ‹ prev next ›