whirlwind-match / fuzzydb

fuzzydb is a fuzzy matching database engine capable of providing human-like search results that make life much easier for users of websites searching for things like cars, houses, people and jobs.
19 stars 5 forks source link

Arbitrary whitespace should be permitted around user input #90

Closed djcsdy closed 11 years ago

djcsdy commented 11 years ago

The example above refers only to a single instance of this problem, but generally we should strip non-meaningful whitespace from all user input. Users are not likely to expect such whitespace to affect their use of the site. For fields that are validated, we should do this before validation.

Examples of non-meaningful whitespace:

nealeu commented 11 years ago

Agree.

Ps. We need to move these issues to the fm repo

djcsdy commented 11 years ago

Damnit, I’m sure I used to be able to get simple things right.

Closing to move to the correct repo.