[Bb-trac] [bbPress] #714: get_user_profile_link does not deal with spaces in user-login slugs

bbPress bb-trac at lists.bbpress.org
Tue Jul 31 08:13:21 GMT 2007


#714: get_user_profile_link does not deal with spaces in user-login slugs
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:                 
     Type:  defect    |      Status:  new            
 Priority:  normal    |   Milestone:  0.8.3 & XML-RPC
Component:  Back-end  |     Version:  0.8.2.1        
 Severity:  normal    |    Keywords:                 
----------------------+-----------------------------------------------------
 $user->column needs to be urlencoded for spaces and other special
 characters that might be in username slugs from WP integration, etc.

 ie.[[BR]]
 replace: [[BR]]
 {{{ $r = bb_get_option('uri') . "profile/" . $user->$column . etc }}}
 [[BR]] with: [[BR]]
 {{{ $r = bb_get_option('uri') . "profile/" . urlencode($user->$column) .
 etc }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/714>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list