414
submitted 10 months ago* (last edited 10 months ago) by qaz@lemmy.world to c/programmer_humor@programming.dev

...

you are viewing a single comment's thread
view the rest of the comments
[-] sus@programming.dev 12 points 10 months ago* (last edited 10 months ago)

maybe they were looking for extra special characters like 🁄 or ⶸ. Who am I kidding, RFC 1738 tells us that literally everything is unsafe and you know, we need to prepare for the inevitable occasion when the password somehow ends up inside an URL.

The characters "<" and ">" are unsafe because they are used as the delimiters around URLs in free text;
the quote mark (""") is used to delimit URLs in some systems.
The character "#" is unsafe
The character "%" is unsafe

It ends up with

Thus, only alphanumerics, the special characters
$ - _ . + ! * ' ( ) ,
are safe

[-] protogen420@lemmy.blahaj.zone 5 points 10 months ago

I am going put null on my password and you aren't stopping me

[-] Baizey@feddit.dk 2 points 10 months ago

Also [object Object] is always a classic to mess with any js

[-] planish@sh.itjust.works 5 points 10 months ago

If the password is going in URLs you already have a problem.

[-] Quibblekrust@thelemmy.club 1 points 10 months ago
[-] planish@sh.itjust.works 1 points 10 months ago

In terms of the transport, sure.

But if you put the password in a URL, the user's browser is going to turn around and store that plaintext password in its history, then sync it to the user's other devices, and then pop it up on their screen in the address bar autocomplete, perhaps when the user is screen sharing or streaming to hundreds of people. The browser does not expect a password to be stored there and will mishandle it.

[-] Quibblekrust@thelemmy.club 2 points 10 months ago

Nah, if you type a password in a url, it gets turned into asterisks. Look: https://google.com/?password********************

this post was submitted on 19 Jan 2026
414 points (99.3% liked)

Programmer Humor

34245 readers
1739 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 3 years ago
MODERATORS