Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
1 | ... | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | ... | 1828
Aredwood
3885 posts

Uber Geek


  #2145935 15-Dec-2018 23:13
quote this post

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.





SirHumphreyAppleby
2847 posts

Uber Geek


  #2145947 16-Dec-2018 08:14
Send private message quote this post

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.


freitasm
BDFL - Memuneh
79295 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2145948 16-Dec-2018 08:19
Send private message quote this post

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.




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
2847 posts

Uber Geek


  #2145950 16-Dec-2018 08:24
Send private message quote this post

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".


freitasm
BDFL - Memuneh
79295 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2145952 16-Dec-2018 08:33
Send private message quote this post

Good point.




Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync 


Shadowfoot
First time caller
385 posts

Ultimate Geek

Trusted
Lifetime subscriber

  #2146016 16-Dec-2018 10:19
Send private message quote this post

A smart system would trim trailing spaces before validating it. Web developers should expect this some users to copy and paste.




freitasm
BDFL - Memuneh
79295 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2146077 16-Dec-2018 12:22
Send private message quote this post

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 


freitasm
BDFL - Memuneh
79295 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2146119 16-Dec-2018 14:41
Send private message quote this post

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 


Aredwood
3885 posts

Uber Geek


  #2146148 16-Dec-2018 15:34
quote this post

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.



It is a big problem from a usability point of view. As a human can't tell just by reading, if a space character has been added to the end of a text string. So the user can only tell that an extra space character is present, by placing the cursor into a form field and / or typing extra stuff into that field.

And on websites that simply give a blanket "login failed" message. Most users would assume that they had typed their password incorrectly. Especially as often the email address that they entered is still displayed (and reads correctly to the user). Good for security, but very difficult for users who don't know to check for rogue space characters. And it would be a nightmare from hell for people who use screen readers.

So a fail from the website, as it is a useability barrier. Yet not stripping spaces from email addresses doesn't improve security, as an email address shouldn't contain a space anyway. So no problems from a user trying to unintentionally login to someone else's account.

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.






eracode
Smpl Mnmlst
8868 posts

Uber Geek

ID Verified
Trusted
Subscriber

  #2146152 16-Dec-2018 15:49
Send private message quote this post

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...



You’re right. In recent years we have done two seven-week Home Exchange stints living and shopping in France in different places and done small road trips each time. Wherever you buy a baguette in France, it is always wonderful and a small piece of heaven on Earth. We have missed this when we have returned home.

NZ is not alone with this problem. We have done similar stints in Florida, N California, Calgary, 3x UK and Australia - all with the same bread issue. North American factory bread is particularly foul.

We have found one German baker here on the North Shore who makes pretty good baguettes - but it’s a ten minute drive each way and $5 each. TBH probably don’t miss a good baguette enough to do that every day.




Sometimes I just sit and think. Other times I just sit.


SirHumphreyAppleby
2847 posts

Uber Geek


  #2146163 16-Dec-2018 16:56
Send private message quote this post

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.


MikeB4
18435 posts

Uber Geek

ID Verified
Trusted

  #2146164 16-Dec-2018 17:04
Send private message quote this post

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


jarledb
Webhead
3257 posts

Uber Geek

Moderator
ID Verified
Trusted
Lifetime subscriber

  #2146224 16-Dec-2018 18:19
Send private message quote this post

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.


Geektastic
17943 posts

Uber Geek

Trusted
Lifetime subscriber

  #2146240 16-Dec-2018 19:24
Send private message quote this post

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?






Geektastic
17943 posts

Uber Geek

Trusted
Lifetime subscriber

  #2146242 16-Dec-2018 19:26
Send private message quote this post

My MiL.

 

Currently pushing me towards a nervous breakdown as I juggle between not wishing to upset my wife and suppressing my temper...






1 | ... | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | ... | 1828
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic



News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.