Defect #9588

Text fields used for data entry should trim whitespace.

Added by Dave Carlton over 8 years ago. Updated over 8 years ago.

Status:ResolvedStart date:2011-11-16
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:-
Resolution: Affected version:

Description

For example, in the password recovery field for email address, if the address was copied and pasted with leading or trailing whitespace it should be trimmed off before use. Trying to send email to ` ' will fail miserably without the user knowing.

whitespace_email.diff Magnifier - whitespace trim (565 Bytes) Nitish Upreti, 2012-03-30 15:33


Related issues

Related to Redmine - Defect #8317: Strip whitespace from integer custom field Closed 2011-05-06
Related to Redmine - Defect #25604: Redmine does not appear to strip leading spaces from new ... New

History

#1 Updated by Nitish Upreti over 8 years ago

Here is the patch. Trimming the whitespace beforing checking with the database.

#2 Updated by Go MAEDA about 3 years ago

  • Related to Defect #8317: Strip whitespace from integer custom field added

#3 Updated by Go MAEDA about 3 years ago

  • Related to Defect #25604: Redmine does not appear to strip leading spaces from new issues added

Also available in: Atom PDF