Skip to content

Commit

Permalink
Fix broken My Contributions link for users with slashes in their names.
Browse files Browse the repository at this point in the history
  • Loading branch information
prototech committed Nov 7, 2015
1 parent b87056d commit b119018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion display.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function assign_global_vars()
if ($this->user->data['is_registered'] && !$this->user->data['is_bot'])
{
$u_my_contribs = $this->controller_helper->route('phpbb.titania.author', array(
'author' => $this->user->data['username_clean'],
'author' => urlencode($this->user->data['username_clean']),
'page' => 'contributions',
));
}
Expand Down

0 comments on commit b119018

Please sign in to comment.