Defect #9588

Text fields used for data entry should trim whitespace.

Added by Dave Carlton about 10 years ago. Updated 12 months ago.

Status:NewStart 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
Duplicated by Redmine - Feature #34566: Always trim title Closed

History

#1 Updated by Nitish Upreti almost 10 years ago

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

#2 Updated by Go MAEDA almost 5 years ago

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

#3 Updated by Go MAEDA almost 5 years ago

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

#4 Updated by Go MAEDA 12 months ago

#5 Updated by Go MAEDA 12 months ago

  • Status changed from Resolved to New

Also available in: Atom PDF