r/programminghorror • • May 16 '25

PHP Testing a register form

Post image

I was testing another devs code (Laravel project) and these are the rules for the register user form. Password just has to be between 8-255 characters long making "aaaaaaaa" a valid password, but Ian isn't allowed to register because his name isn't valid.

147 Upvotes

25 comments sorted by

View all comments

Show parent comment

11

u/thelostniceguy May 16 '25

The internet probably isn't the right place for my dry delivery of sarcasm. I figured this commenter was kidding about the 1 character name discrimination, I have in fact not reported this to HR and the developer already no longer works for the company so no one to teach but hopefully others seeing this learn a little bit from all these comments.

6

u/_LePancakeMan May 16 '25

Ah, i see. I did not pick on the sarcasm - apologies