Skip to:
Content

bbPress.org

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#714 closed defect (bug) (duplicate)

get_user_profile_link does not deal with spaces in user-login slugs

Reported by: _ck_'s profile _ck_ Owned by:
Milestone: 0.8.3 Priority: normal
Severity: normal Version: 0.8.2.1
Component: Back-end Keywords:
Cc:

Description

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

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

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

Change History (3)

#1 @sambauers
17 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
17 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.