Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it possible to disable whitespace cleanup #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

make it possible to disable whitespace cleanup #7

wants to merge 1 commit into from

Conversation

mackuba
Copy link

@mackuba mackuba commented Mar 2, 2016

The whitespace cleanup feature can be useful, but it can also be dangerous. Users won’t be aware that something like this is happening, so it might lead to confusion or even data loss in rare cases. For example, if this view is added to an app that had a normal password field before and users already have passwords set up that happen to have leading or trailing whitespace, they won’t be able to log in after an update if they’re copying the password from some other place.

For this reason, I think it’s reasonable to let the developer at least opt out of this feature.

Whitespace cleanup can be useful, but it can also be dangerous. Users
won’t be aware that something like this is happening, so it might lead
to confusion or even data loss in rare cases. For example, if this view
is added to an app that had a normal password field before and users
already have passwords set up that happen to have leading or trailing
whitespace, they won’t be able to log in after an update if they’re
copying the password from some other place.

For this reason, I think it’s reasonable to let the developer at least
opt out of this feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant