Skip to:

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#714 closed defect (duplicate)

get_user_profile_link does not deal with spaces in user-login slugs

Reported by: _ck_ Owned by:
Milestone: 0.8.3 Priority: normal
Severity: normal Version:
Component: Back-end Keywords:


$user->column needs to be urlencoded for spaces and other special characters that might be in username slugs from WP integration, etc.

$r = bb_get_option('uri') . "profile/" . $user->$column . etc

$r = bb_get_option('uri') . "profile/" . urlencode($user->$column) . etc

Change History (3)

#1 @sambauers
14 years ago

This should work as far as mod_rewrite is concerned. We would want to change the logic a bit so that urlencode was only applied when "slugs" is the permalink type.

#2 @sambauers
14 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

This is a knock on from the same issues as #687, let's track this problem in that ticket.

Note: See TracTickets for help on using tickets.