[buddypress-trac] [BuddyPress Trac] #6076: Name or other required profile fields can be whitespace

buddypress-trac noreply at wordpress.org
Tue Dec 23 12:29:43 UTC 2014


#6076: Name or other required profile fields can be whitespace
--------------------------+-----------------------------
 Reporter:  justinph      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  XProfile      |     Version:  2.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by boonebgorges):

 > agree that whitespace-like characters probably shouldn't be accepted in
 a required field

 Just to clarify: we shouldn't allow values that consist of *nothing but*
 whitespace characters. We should, of course, continue to allow spaces.

 Trimming the value of the `$_POST` payload before saving seems fine to me.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6076#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list