Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[sharebymail] Before password validation, clean pasted password with whitespace before/after and \ #24141
Comments
|
I can take this if you like. I would be glad to join the project. |
|
@stavoxnetworks please do :) |


How to use GitHub
Is your feature request related to a problem? Please describe.
Share by mail let user to share document with foreigner to get or send sensitive document protected by a password
Most of users copy/past password from the email they have received as it is faster and more convenient with automatic generated complex passwords.
However, the copy of selected text (password) leads most of the time to copy the invisible \n before or after, or a whitespace.
Describe the solution you'd like
The solution that could be applied is to erase \n and whitespace before/after of pasted text (password) just before to call the service.
Describe alternatives you've considered
No alternatives except to select again and again the text : most of people not succeding call back the nextcloud account owner for a new link thinking that the password in invalid.
Additional context
If the sender is familiar with nextcloud, most of the time the recipient (sometimes old peaple) are not at ease with computers