|
|
|
| CSS/XHTML Gurus, Web Designers, PHP Devs: You + Zootoo (NJ)? |
| « Prev | Page 1 | Page 2 | Page 3 | Next » |
|
At least you can just turn javascript off, because you KNOW they aren't doing any server side verification.
|
|
If you think Sandy has it rough, imagine Chewbacca's predicament. He doesn't have a last name, so he fails the two-character minimum. Then he think to himself, "Well, maybe I can put in 'Chewbacca of Kashyyyk' instead." Oops...
And what if your last name is Masdford? |
|
What the heck?
Some developers confuse me. What were they thinking? |
Re: Not Valid Enough
2008-02-26 08:19
•
by
Velko
(unregistered)
|
|
At least there's no problem if your last name is Qwerty.
|
|
Opposite to my case
|
|
The real wtf is gravity...
but who are they to say what is a valid first name? If I want to call my child OoooooLaaaaa, that's my choice. |
|
These stupid validations are always pet peeves of mine. The worst is the security question validation (yes I know we have talked about them to death).
I got one the other day that asked the number of my street where I grew up. When I responded with 54 it told me it wasnt enough characters - there is a difference between trying to handle bogus data and just making it plain annoying. Now if this were a password field, I could understand this validation logic a little more. |
Re: Not Valid Enough
2008-02-26 08:39
•
by
Colin
(unregistered)
|
|
If that is your choice then social services should probably choose to take away your child :)
|
|
Your Last Name Is Too Short(*)
(*)Last Name has to be at least 4 characters long. |
|
Apparently Cookson is also invalid
|
|
I recently had to enter a password of at least 8 alphabetic characters, no numbers allowed. Aaargh.
|
|
"He tried again... Sandy took a quick peek at her passport ..."
|
|
I once had a password that specified "The first digit of your password must be a number." - How much do you think that helped security.
|
|
That user asdf? I wouldn't let him use my software either.
|
|
Ugh... it's a long time since I've seen JavaScript written as unutterably badly as that.
Apparently they didn't get the memo that "eval() is evil"... |
Re: Re-anonymisation error!
2008-02-26 09:09
•
by
Cookson
(unregistered)
|
anonymization.. ur doin it wrong. |
|
I'm not saying the three-or-more letter restriction is legitimate, but if anyone ever needs it, here it is:
!firstname.match(/(.)\1{2,}/);
I wish I could get paid for removing useless code. I'd be rich. |
|
Sandy should choose a valid gender.
|
|
My favorite part is:
|
Re: Not Valid Enough
2008-02-26 09:20
•
by
Michael
(unregistered)
|
Still not as good as little Bobby Tables. http://xkcd.com/327/ |
|
Actually on azerty keyboards (like french ones) asdf becomes qsdf. So my usual dummy name is not checked by this awesome script!
Side note : My browser had auto-completion for captcha field. Can it read? So smart... |
|
1. Sandy is also a male name.
2. I bet they tried to block all names which had the same letter thrice consecutively but never tested their software. Reminds me off some server side stuff I have seen: if (form.title.equals("Mister")) customer.setIsMale(true); Worked "fine". Until internationalization came and the database was full of female foreigners... |
Well, it says "more than two" which is equivalent to "three or more" |
Done: enum Gender { MALE, FEMALE, GENDER_NOT_FOUND }; |
|
If you want to see a stupid Javascript validation/restriction check out this site: http://www.ci.org (Compassion International)
If you right click anywhere on the site (not just images) a pop-up appears reading: "Compassion has disabled the right click feature on photographs of children on our site. The additional effort has been implemented to protect the security, dignity and privacy of children in our program." That's right, this site completely disables your context menu in the bizarre belief they can prevent you from "stealing" their photos. I guess Compassion believes only they should be able to "exploit" children by posting their photos on the Web? |
Re: Re-anonymisation error!
2008-02-26 09:33
•
by
Rob
(unregistered)
|
don't you mean her pbuttport? |
Lots and lots of sites try that stupid stunt, though most of them don't give such a nice pseudo-moral explanation. |
|
When will people realize that receiving "invalid" data isn't as bad as losing a potential customer?
Invalid data can be detected and cleaned up later. Getting a customer back is nearly impossible. |
Re: Re-anonymisation error!
2008-02-26 09:40
•
by
Troy McClure
(unregistered)
|
Well done sir. You win this round. |
|
Alex, are you aware that your fisrt version is the one that is sent in RSS?...
|
True. However, "Sandy" in this story seems a bit gender-confused. |
Re: Not Valid Enough
2008-02-26 10:12
•
by
Redeemer
(unregistered)
|
|
What happens if my first name is "return true" ?
or "return true;" not really sure which is the correct one and the second name contains what |
|
This story would have been much better if the protagonist were named Pat.
|
|
It's a little odd that he'd single out only asdf as invalid. Perhaps he was coming back later to add hjkl, fdsa, qwerty, etc? Or did he really think this would happen every time:
lastname: a ("wow, ok must be too short.) lastname: asdf ("nope. hmmm" lastname: aaaaaa ("aww shucks. Well I guess I had better type a real name now") |
|
I once dealt with a (Spanish) website that would not sell to anyone without a middle name. If you didn't have one you had to invent one.
|
|
It explains also why my last name is so often misspelt.
|
Re: Not Valid Enough
2008-02-26 10:35
•
by
Alex
(unregistered)
|
|
That's right, this site completely disables your context menu in the bizarre belief they can prevent you from "stealing" their photos.
What is most frustrating about such sites is if you are like me and tend to use the context menu back item to navigate. I want to go back, so right click to do so and instead a @%$@#$@# popup appears accusing me of trying to steal photos, it rapidly makes me turn off javascript, disable context menu manipulation or just not visit that site. captcha: transverbero |
|
And if your last name is O (an actual surname in France)?
|
Then while you're at it, download all of the pictures of their children that they're supposedly trying to "protect", and email them back to their webmaster. For bonus points, include a ransom note. |
|
Does Sandy go by the pseudonym Mystique?
|
|
The funny thing about all those context menu disabling scripts is that they don't work in Firefox; it displays the context menu anyway, giving it focus, with a silly alert box saying you can't use the context menu. Usually sites do this to try to keep you from taking their pictures, so I make it a point to download something out of spite.
|
Nah, it's still incomplete. Here: enum Gender { MALE, FEMALE, NONE, SHEMALE, OTHER, GENDER_NOT_FOUND }; |
Re: Not Valid Enough
2008-02-26 10:58
•
by
Dazed
(unregistered)
|
Only in some browsers. (Only in one browser, I suspect). Hence or otherwise deduce ... |
Re: Not Valid Enough
2008-02-26 11:00
•
by
Jindra
(unregistered)
|
|
I had to deal with almost every website once I lived in Ireland, where there are no ZIP codes (only Dublin has 1-9 as ZIP code)
|
Re: Not Valid Enough
2008-02-26 11:02
•
by
Rich Wilson
(unregistered)
|
|
I ran accross that one, and seem to recall that the 'entire site' part was browser specific. It works in IE and Opera- it only disables for the entire page in Firefox and Safari.
They actually responded when I complained, so I offered to fix it, and they never replied. That was at least three years ago. http://naartjie.homestead.com/ disables right click entirely for all browsers. Good time for noscript! |
Re: Not Valid Enough
2008-02-26 11:05
•
by
Phil
(unregistered)
|
but make sure to hide it once you've downloaded it, don't want them downloading it back again. |
|
So I guess if my name actually is John Jacob Jingleheimer-Smith, I'm completely out of luck?
|
Re: Re-anonymisation error!
2008-02-26 11:27
•
by
Hungarian Notation
(unregistered)
|
She doesn't really like pointers to ports in ... well, never mind. |
Re: Not Valid Enough
2008-02-26 11:40
•
by
Dave
(unregistered)
|
Opera handles matters rather more elgantly, by completely disregarding their little right-click scripting adventures. |
| « Prev | Page 1 | Page 2 | Page 3 | Next » |