2.2k
u/Lejyoner07 Sep 05 '24 edited Sep 05 '24
Wait, people think we check random form data?
You won't see me checking nothing unless it causes a dumpster fire somewhere. Bring prod down and council will hear your word 🗿.
95
u/colin_colout Sep 05 '24
BI team will notice it, Data Engineers will check the warehouse and pipelines to see that it's "incorrect" at the source DB.
The Software Engineers will get roped in at this point.
27
u/YorkieCheese Sep 05 '24
Yeah lol. Dunno why people think m companies are dysfunctional enough to banish users’ submitted forms (not complains) into a black hole never to be read
→ More replies (2)16
u/DoctorWaluigiTime Sep 05 '24 edited Sep 06 '24
That or a pattern.
If one random form submission out of dozens, hundreds, or thousands has a cheeky "teehee this is gonna drive them mad" character at the end, who cares.
If 90+% of them have it, then yeah it's likely a code issue.
30
7
6
→ More replies (15)18
u/Tuckertcs Sep 05 '24
Clearly you’ve never worked in government software. We’ve had our senior dev manually edit fields in the database to fix issues users were having.
→ More replies (10)31
Sep 05 '24
That's not the same as checking random datasets. And that's a normal thing to do to resolve bugs.
2.0k
u/chin_waghing Sep 05 '24
[object Object] is my personal favourite
217
u/Luccacalu Sep 05 '24
I hate this I hate this I hate this
Everytime I see [object Object] on my log I lose a day of life
34
u/Unknown6656 Sep 06 '24
On one hand I pity you.
On the other hand, you deserve that when using weakly-typed programming languages.
→ More replies (1)30
→ More replies (3)97
u/No-Bit7559 Sep 05 '24
[Object object] 🤓👆
→ More replies (1)263
u/antonw51 Sep 05 '24 edited Sep 05 '24
JavaScript objects turned to strings using
.toString()are'[object Object]', not'[Object object]'
Edit:On second thought,is that supposed to be a joke? I'm not sure.→ More replies (6)
743
u/gydu2202 Sep 05 '24
Don’t worry, it’ll be fine; I’m sure they’ve fixed the issue.
50
→ More replies (1)30
u/OneWholeSoul Sep 05 '24
This reminds me that Twitch can't handle apostrophes or ampersands in video titles or descriptions.
EDIT: For instance, "Mirror's Edge" becomes "Mirror's Edge."
→ More replies (3)
378
Sep 05 '24
Same, I always use 1-1-1970 as my birthday. Let me see if you learnt type conversions in javascript.
86
u/well-litdoorstep112 Sep 05 '24
What would it accomplish? 1970-01-01T00:00:00.000Z is just 0. Why would it break something?
Is it something like
if(!myDate.getTime()){//error}? Or is it something else?113
u/twistsouth Sep 05 '24
I think their point was that if an engineer sees it, it stands out like an error. Makes them wonder if it was an empty value passed to a date function. Because we have all done it at some point.
→ More replies (4)→ More replies (4)41
91
u/almofin Sep 05 '24
Type "true" into a search box lol. At work this crashed our entire app because it got converted to boolean, the typical string functions wouldn't work
→ More replies (5)
640
u/24NAMANJN Sep 05 '24
A back end developer would delegate this front end saying, please don’t allow anything beyond fixed set of characters 😂
275
Sep 05 '24
front end validation FTW! Nobody will know right?
right?
→ More replies (1)104
u/24NAMANJN Sep 05 '24
Yeah.. until the BE has also skipped the validation and somebody hit the API directly. 😜😂
→ More replies (6)57
u/pailadin Sep 05 '24
I remember being on a pr�ject once where the frontend validation was: when the user stops typing, send the user input to an API that will return an error if there are problems with it.
24
u/Bali201 Sep 05 '24
Can you say more how this is bad? I’m a noob. Isn’t this what some sites do where they display, say, your password strength as you type so that you can stop adding complexity once you get the “strong password” sign?
→ More replies (6)→ More replies (4)7
u/almcchesney Sep 05 '24
Tbh I am not mad with this method, the amount of tickets I have received due to misaligned validation on front & backend are just too many.
My team found an edge case in the backend code once validating some input configuration, now we return 400 bad request on a specific config set. Tickets still come in from users that attempt to update their old resources and get our validation messages as the frontend doesn't validate that field if it doesn't change.
→ More replies (1)35
u/turtleship_2006 Sep 05 '24
A good back end developer wouldn't have trusted input from the front end in the first place
12
u/24NAMANJN Sep 05 '24
Yeah, the best way to do is to have validation at both end. But based on this sub, we’re not considering best case scenario.
→ More replies (1)→ More replies (3)11
175
u/AddisonDeWitt333 Sep 05 '24
Nice idea, but we just block all of that these days - they can't submit
115
Sep 05 '24
azAZ, we dont fuck around
67
→ More replies (1)42
u/Heribertium Sep 05 '24
Fuck you. My first name contains a dash and I hate sites that make me spell my own name wrong!
→ More replies (13)14
→ More replies (1)11
u/turtleship_2006 Sep 05 '24
Me when I edit the html/js and submit it anyways
→ More replies (1)6
u/DoctorWaluigiTime Sep 05 '24
Frontend validation for user convenience, backend validation for actual security.
49
31
62
u/Amazing_Might_9280 Sep 05 '24
Someone that's smarter than me explain this please.
160
u/erishun Sep 05 '24
When you have encoding issues, the characters will often become garbled.
For example, when you have an apostrophe in UTF-8 and it gets decoded as CP-1252, you get the dreaded ’
→ More replies (1)36
u/gmc98765 Sep 05 '24
When you have encoding issues, the characters will often become garbled.
There's a word for this: Mojibake, taken from Japanese (文字化け) as the issue has historically been so common there.
→ More replies (1)23
20
u/timoshi17 Sep 05 '24
thatsaRepost
19
u/Wrectal Sep 05 '24
If we needed any proof dead internet theory has arrived, just gotta look at the replies to this crap.
7
u/itsjbean Sep 05 '24
for real and I've seen this exact post several times before. hell the original tweet is almost a decade old
14
u/orsikbattlehammer Sep 05 '24
I had this fucked up bug that I spent weeks trying to uncover a while ago. The customer had sporadic issues with specific employee erroring out a stored procedure, and for the life of me I could not figure out what the issue was. After a while of fucking around I noticed that if I did a select on one of the offending records, copied the offending column, and did an update pasting the same value back in, it worked fine. This drove me to insanity for the next several days. There wasn’t anything wrong with the string, I kept checking it over and over for special characters but it was totally normal. Finally I came to my senses and did an update select instead of copy pasting and it still failed. That was the day I found out that SSMS strips out certain special characters in its result set, so copy pasting didn’t give me the real data.
→ More replies (4)
12
u/david30121 Sep 05 '24
22
u/RepostSleuthBot Sep 05 '24
Looks like a repost. I've seen this image 16 times.
First Seen Here on 2023-01-13 95.31% match. Last Seen Here on 2024-04-21 76.56% match
View Search On repostsleuth.com
Scope: Reddit | Target Percent: 75% | Max Age: Unlimited | Searched Images: 609,829,428 | Search Time: 0.24709s
→ More replies (1)7
10
11
u/helmsb Sep 05 '24
I’ve use the Mongolian Vowel Separator (U+180E) occasionally for a terrible piece of software I used to have to use that had all kinds of weird text restrictions and it would allow you to add whitespace or skip fields. I have it set up as a shortcut when I type ;khaaannn.
11
u/shuozhe Sep 05 '24
NaN was enough to confuse a web dev for a while (my surname is Nan, I use it frequently to mark data entry to check)
11
9
8
6
u/meme_and_learn Sep 05 '24
You assumed that I look at how my code is performing after I launch it. Jokes on you!!
4
u/myrsnipe Sep 05 '24
Lmao I had to redo some imports yesterday because somewhere in the chain there was an excel sheet when exported as csv used windows style encoding instead of utf8
2
u/horreum_construere Sep 05 '24
That's the worst. I had the same thing lately, where I was using libreoffice csv with utf8 and management used excel csv export with this shitty windows style encoding. Took me a while to reproduce and fix it.
4
u/larsjarred9 Sep 05 '24
This man is the reason I do regex validation 😆😂
3
u/DerBronco Sep 05 '24
We all do.
… except for that one form in this irrelevant form hidden away in some imprint that nobody ever visits. Right?
4
4
3
3
u/CaffeinatedTech Sep 06 '24
If you're lucky, it will get printed on an envelope and the post office sorting machine also has to decipher it.
3
u/slucker23 Sep 06 '24
I recall one of my classmate back in the days would suggest adding the Greek comma as semicolon. So instead of ; you have ;
Yep, it's exactly the same. PC will call error but you would have zero idea why and how
3
2
2
2
2
2
u/xxwerdxx Sep 05 '24
LPT: have an apostrophe in your name. Every single online form will say it's not valid lol
2
u/srfreak Sep 05 '24
If I need to input a date, I like to set it as 1970-01-01 and see the world in flames.
2
u/beardedchimp Nov 28 '24
I have done this for maybe 15 years now, didn't know there was another. It isn't because it will break anything and cause flames. It is from years of experience with databases knowing that any time I see 1970-01-01 I immediately assume it must be spurious and due to a bug. I'll then try to track down how a null,0 or NaN has passed initial validation and parsed into the exact second our universe was created.
I know it sounds cruel, but I'd find it absolutely hilarious if anyone ever did this to me. For a very, very long time I have held the view that nobody was born on that date and despite handling massive databases I've never come across any legitimate cases, or perhaps I just deleted them out of hand hahaha.
I also resent services that require my birthdate despite having no valid reason to store it. Brings a smile onto my face realising that when my personal information is sold, 1970-01-01 will make my data seem spurious. While nobody likes spam, I quite enjoy targetted advertising clearly based on that age group, I even get happy birthday emails every new years day, hahahahaha.
→ More replies (2)
2
2
u/Carpetnoises21 Sep 05 '24
I like making my login admin' OR '1'='1 - - and adding my info as <script>alert(‘XSS’)</script> in any input validation if CSP or x-xss-protection is disabled, such fun i like it aswell if i can RCE into certain places it's so trolling omg (jumps around like e-girl) /.../.../.../.../?cmd=?
Omg such fun
2
2
u/balunstormhands Sep 05 '24
Had to troubleshoot a customer that was getting this kind of output on our software. Learned it's called mojibake. Turned out that their database was not using UTF-8 encoding. Updated the docs to explicitly setup with UTF-8, because some people like to use something else.
2
2
2
u/Frogtoadrat Sep 05 '24
My old company told us to test their new website. I put a few emojis in the form and it completely broke it. They were annoyed lol
2
2
2
2
2
1
1
u/Dmayak Sep 05 '24
Someone just pasted from Word or maybe hacker/bot shenanigans, nothing to worry about if it doesn't happen with every submission.
1
1
1
1
u/Dillenger69 Sep 05 '24
Unicode control characters are fun too!
They aren't displayed and they really gum stuff up
1
u/sboger Sep 05 '24
Lol... Tenderlove is Ruby famous, and now Reddit famous. I worked with him at his first job in Seattle. A seriously righteous dude.
1
1
Sep 05 '24
My favorite are the compilers that convert your character representation into the actual character and then they pretend that's how it should be done. Looking at you SASS compiler... lameasses.
1
u/scriptmonkey420 Sep 05 '24
In PROD? not really, no one is going to see it unless an INC ticket is put in.
If I see it in QA or DEV, yup, i think i have a bug.
1
1
1
Sep 05 '24
nah I will just assume it's some other language my computer doesn't support. if you can find a way to change the color to red on my end you'll have convinced me, though
1
1
1
1
1
1
1
1
1
1
1
1
1
1
u/Joe_Ronimo Sep 05 '24
I just cleared the �s out of some supplied data. I have no idea how they're randomly applying them in place of some spaces, but not all of them.
→ More replies (2)
1
1
1
u/ABrutalistBuilding Sep 05 '24
This reminds me of a story where a bank created the option to create and name your own budgets. Very handy. Keeps your savings separate. And one day a girl got a call from the bank that she managed to break some backend stuff and couldn't use her account for a day because they were "researching" the problem. She had used only emojis as the names for her budgets and the system freaked out. Was resolved quickly but very funny.
1
1
1
1
Sep 05 '24
I am gonna enter [object Object] in my timesheet comments now. I hate writing those justifying my work
1
u/Distinct-Ad1057 Sep 05 '24
Real story in my first internship, someone inserted object object which got saved to db when cto asked to fix the bug engineer spent 2 hour just to say it's not a bug
1
u/volunteertribute96 Sep 05 '24
They do have a bug. They are clearly not doing any input validation.
1
1
u/Shallnazar Sep 05 '24
I'm a passive observer of this sub so I know zilch about programming, but this post just answered a question I'd always been wondering at my job.
I work in a call center for a car dealer and when we get emails back from people, or when they use the chat feature on our website, for some reason all the apostrophes show up as the question marks. There's some other random symbols that pop up from time to time, but it's good to know why.
1
1
1
1
u/FranticBronchitis Sep 05 '24
I do this whenever there's a "mandatory field" I don't feel like filling in
1
u/MrB_2006theLad Sep 05 '24
I remember one time I messed up a half life server's stats database by having an emoji in my username lmao
1
u/Corin_Raz Sep 05 '24
As a dev who recently had the pleasure of converting hex in variable addresses into ascii, thank you. I hate you
1
1
u/Captain_Black42 Sep 05 '24
Or a bit of SQL injection for a giggle
' + 'CREATE TABLE encrypted (column1 varchar(255), column2 varchar(255)); UPDATE encypted SET column1 = 'မ', column2 = 'မ;' +'
1
1
1
u/competitive-dust Sep 06 '24
A friend/coworker of mine once deliberately entered [object Object] in a form and told me it was a bug.
1
1
1
1
u/FinalGamer14 Sep 06 '24
Wait you guys look at some random ass data people submit? Like I'll monitor the system first week after the deployment and then until someone else doesn't open a bug ticket I don't give two shits what is happening. They don't pay me to baby sit the software, that's other peoples job.
1
1
1
1
u/Gorgeous_Gonchies Sep 05 '24
This gets posted a lot and every time I just shake my head and wonder who upvotes this stuff. Developers aren't seeing your posts on the live site. They dont do their work on the same website you use, that's not how any of this works.
Devs work on their own offline copy of the website code and populate it with test data of their choosing, not your live posts. At anything beyond the "working in mom's basement" level they have automated tests that prove data is flowing through cleanly with no weird characters added.
Users do sometimes contact tech support when they've accidentally pasted weird characters into their work when copying from a word doc or something, but that's a user problem not a dev one. If a tech support person asks us about it we tell them it's not our problem and we have tests to prove it. If the user is a particularly important client, has made a big enough mess, and the boss owes them a favor, we may have someone from tech support clean it up for them. That's about it.
2
u/MarkandMajer Sep 06 '24
PM here: if you work with a small team for a startup / small business, boy will the dev team hear about it. No they aren't observing PROD form submissions, but some business owners sure as heck are and they will start sending over emails/slacks/phone calls if they see stuff like that
0
Sep 05 '24
[deleted]
33
u/meedstrom Sep 05 '24
What do you mean by "a system that uses the current year minus 100"? Do you not allow any users born before 1924 at all?
31
u/Forkrul Sep 05 '24
If the age is a dropdown most systems won't list every year back to the Big Bang.
→ More replies (2)4
u/AnUglyScooter Sep 05 '24
I mean this is a fair point… not sure why the default isn’t even a little higher like 125 or so
7
→ More replies (1)187
Sep 05 '24
[removed] — view removed comment
53
u/-spam- Sep 05 '24
Having dealt non leap year Feb 29th dates of birth in some data recently, I hate you.
1
u/geek-49 Sep 06 '24
December 32 can also be "interesting." I've heard that some accountants used to code year-end corrections that way; dunno if the same convention is still used in current systems.

8.0k
u/_Decimation Sep 05 '24 edited Sep 05 '24 •
My favorite Unicode character is
U+200B, the zero width space. You can imperceptibly smuggle the character inside any string:foo(3 characters)bar(4 characters)