shevett / congo

CONGO Event Management System
GNU Affero General Public License v3.0
3 stars 1 forks source link

White space in names #278

Closed shevett closed 10 years ago

shevett commented 10 years ago

Congo accepts and stores names with leading white space in then. This causes sorts in Congo and Zambia to look like they're broken.

For example, search for the name "Dean". "Freyja Dean" comes up sorted before everyone else because there's a leading space before " Dean".

---Ben

shevett commented 10 years ago

Imported from trac issue 278. Created by arisia on 2012-12-10T14:24:58, last modified: 2012-12-23T22:37:59

shevett commented 10 years ago

_Trac comment by shevettadmin on 2012-12-23 22:37:59:

Fixed and committed. The change is that all whitespace is removed from the beginning and end of the strings before creation in the public interface.