![]() ![]() ![]() ![]() |
|
Aredwood: When Chrome autofils my email address on a form, and it adds a space on the end. And the website then rejects my login due to an incorrect email address.
2 different systems both failing to strip the space character from email addresses, and them complaining that a space is not a valid character in an email address.
Why do you consider it a failure for the receiving Website to reject the incorrect information you provide?
As a developer (not of Websites), I consider rejection to be correct behaviour. Beyond sanitising for database queries, and possibly normalising the domain name (setting case or converting IDNs to punycode), E-mail addresses don't require any validation when they are used as an identifier for an existing account. If you can get away with using stricmp() or equivalent, just do that.
Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync
freitasm: He doesn't seem to think login rejection is the failure but rather the irritating consequence on the actual failure which is the browser adding an unnecessary space at the end of auto filled fields.
I respectfully disagree. He states "2 different systems both failing to strip the space character".
Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync
Blue Sky: shadowfoot.bsky.social
Shadowfoot: A smart system would trim trailing spaces before validating it. Web developers should expect this some users to copy and paste.
Usually the same developers who create accounts before validating if email exists or belong to the new account holder...
Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync
Supermarket bread. Breads are usually a sorry thing, with soft, tasteless dough. Some supermarkets make ciabatta, French stick, sourdough and they basically all taste the same - and usually have the same consistence in different shape. Baguettes are a joke - most of times they have a soft outside, to the point they bend if you hold from one end.
Most supermarkets sprinkle flour on top of a bread after baking and call it "artisan".
It's seriously hard to find good bread around...
Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync
SirHumphreyAppleby:
Why do you consider it a failure for the receiving Website to reject the incorrect information you provide?
As a developer (not of Websites), I consider rejection to be correct behaviour. Beyond sanitising for database queries, and possibly normalising the domain name (setting case or converting IDNs to punycode), E-mail addresses don't require any validation when they are used as an identifier for an existing account. If you can get away with using stricmp() or equivalent, just do that.
freitasm:Supermarket bread. Breads are usually a sorry thing, with soft, tasteless dough. Some supermarkets make ciabatta, French stick, sourdough and they basically all taste the same - and usually have the same consistence in different shape. Baguettes are a joke - most of times they have a soft outside, to the point they bend if you hold from one end.
Most supermarkets sprinkle flour on top of a bread after baking and call it "artisan".
It's seriously hard to find good bread around...
Sometimes I just sit and think. Other times I just sit.
Aredwood:
And a fail by the autofil system. As adding an extra space character is assuming that I want to continue typing into that text input field. But assuming that the autofil added the correct text, I won't need to type anything else into that text field.
I agree it is a failure of the auto fill system, but I'm sticking with rejecting input as being correct behaviour.
Should 'smart' sites also remove tabs? What about other white space characters, of which there are literally dozens defined in Unicode, with the potential for more to be added?
It is technically possible for Unicode white space characters to appear in e-mail addresses. ASCII Space (0x20) can appear in the user portion of an address, if but only if quoted, so that's never an issue if stripping leading spaces.
freitasm:
Supermarket bread. Breads are usually a sorry thing, with soft, tasteless dough. Some supermarkets make ciabatta, French stick, sourdough and they basically all taste the same - and usually have the same consistence in different shape. Baguettes are a joke - most of times they have a soft outside, to the point they bend if you hold from one end.
Most supermarkets sprinkle flour on top of a bread after baking and call it "artisan".
It's seriously hard to find good bread around...
We hve solved this, we make our own bread
freitasm:
Most supermarkets sprinkle flour on top of a bread after baking and call it "artisan".
It's seriously hard to find good bread around...
They can take that flour they sprinkle on the bread and....
And I agree, really hard to find good bread in NZ.
The sourdough at the local New World is pretty good, but they just have to add that stupid flour sprinkling that ends up all over the kitchen when I cut the bread.
There is a little french place in Raumati that have good baguettes, don´t think I have ever seen anything that I would classify as a baguette in a regular NZ supermarket.
Of the ready cut bread I find the Bürgen bread the best, but even that fails in comparison to even cheap supermarket bread that I can buy when I am in Norway.
Jarle Dahl Bergersen | Referral Links: Want $50 off when you join Octopus Energy? Use this referral code
Are you happy with what you get from Geekzone? Please consider supporting us by making a donation or subscribing.
freitasm:
Supermarket bread. Breads are usually a sorry thing, with soft, tasteless dough. Some supermarkets make ciabatta, French stick, sourdough and they basically all taste the same - and usually have the same consistence in different shape. Baguettes are a joke - most of times they have a soft outside, to the point they bend if you hold from one end.
Most supermarkets sprinkle flour on top of a bread after baking and call it "artisan".
It's seriously hard to find good bread around...
Very true. When did you last see sliced organic stoneground wholemeal for sale in a supermarket?
My MiL.
Currently pushing me towards a nervous breakdown as I juggle between not wishing to upset my wife and suppressing my temper...
|
![]() ![]() ![]() ![]() |