#6362: Remove blank spaces with strip when validating the data ---------------------------------------------+------------------------------ Reporter: marinho | Owner: nobody Status: new | Milestone: Component: Forms | Version: SVN Resolution: | Keywords: blank space strip Stage: Design decision needed | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------+------------------------------ Comment (by ishirav):
Two and a half years for such a small change? C'mon guys, this really needs to be fixed. Here's another use case that would benefit from this: you send an email to a user with his initial password, or an application license key. When the user copies the value from their email into a form field on your site, very often an extra blank slips in and the form validation fails. This is especially problematic in password fields, since the user can't even see that there's an extra blank in there. It happened to me several times, because when you select-by-double-clicking a word in Firefox or Thunderbird, the blank after the word is included in the selection (try it!) -- Ticket URL: <http://code.djangoproject.com/ticket/6362#comment:35> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.