this post was submitted on 11 Feb 2024
102 points (100.0% liked)

TechTakes

1401 readers
209 users here now

Big brain tech dude got yet another clueless take over at HackerNews etc? Here's the place to vent. Orange site, VC foolishness, all welcome.

This is not debate club. Unless it’s amusing debate.

For actually-good tech, you want our NotAwfulTech community

founded 1 year ago
MODERATORS
 

(via mastodon)

you are viewing a single comment's thread
view the rest of the comments
[–] Scary_le_Poo@beehaw.org -5 points 9 months ago (1 children)

The ampersands gets converted to HTML (aka & by various clients).

In general, it's a good idea to never use ampersands on the web. A lot of sanitizers do not process them properly.

I'm guessing that you are a good bit older (50s/60s), otherwise you would probably know this already.

No one is "comin' fer yer ampersands", but it's worth knowing that on the internet they aren't a great idea.

[–] self@awful.systems 10 points 9 months ago (1 children)

oh my fuck I banned them before I even saw this

yeah we must be a fair bit older if we don’t buy their bullshit html sanitization ploy. no idea what web dev is here!

“a lot of sanitizers don’t process them properly” holy fuck

[–] self@awful.systems 12 points 9 months ago (2 children)

it seriously took them 21 hours to come up with an excuse, and their excuse is it’s impossible to do the parts of html sanitization you can do with a basic regex and nothing else

fuckin ampersands man how the fuck do they work

[–] Soyweiser@awful.systems 12 points 9 months ago (1 children)

This has got to be a bit, in my very online time I have never seen somebody complain about &s hell even with the \ I have never seen people go 'don't use the backslash' just people explain to others why the backslash behaves a bit weird (or how you can escape other characters with it, like for example the &).

[–] pikesley@mastodon.me.uk 7 points 9 months ago (2 children)

@Soyweiser @self just base64-encode everything then learn to read base64 in your head

[–] blakestacey@awful.systems 10 points 9 months ago

"I don't even see the RFC 4648 anymore. All I see is blonde, brunette, redhead..."

[–] Soyweiser@awful.systems 5 points 9 months ago (1 children)

To deter over the shoulder spying my browser converts everything using rot13.

[–] froztbyte@awful.systems 5 points 9 months ago

For shouldersurfing opsec I’ve switched the keycaps on my keyboard, and now no-one can be certain which keys I’m inputting!

[–] froztbyte@awful.systems 6 points 9 months ago

I think literally the last place I actually had this kind problem was a case of mojibake in filenames for things that started on a windows fs served under iis, that then went to a btrfs store and chilled there for a while (like, 6+ years and however many kernels), then rsync’d onto a zfs box (on bookworm)

And I literally just slapped the names through a python auto-remapper library after like 5min of searching to fix shit…