#714 closed defect (bug) (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: | 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)
Note: See
TracTickets for help on using
tickets.
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.