Permalink
Browse files

MDL-44634 Regression: link to user profile in comments block fails du…

…e to double URI encoding
  • Loading branch information...
1 parent e3b98ac commit 3dd33e3862a612a416a7a18f381ad5b8e99cb4c3 @dbezborodovrp dbezborodovrp committed May 15, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 comment/lib.php
View
2 comment/lib.php
@@ -528,7 +528,7 @@ public function get_comments($page = '') {
$c->timecreated = $u->ctimecreated;
$c->strftimeformat = get_string('strftimerecent', 'langconfig');
$url = new moodle_url('/user/view.php', array('id'=>$u->id, 'course'=>$this->courseid));
- $c->profileurl = $url->out(false); // URL should not be escaped just yet
+ $c->profileurl = $url->out(false); // URL should not be escaped just yet.
$c->fullname = fullname($u);
$c->time = userdate($c->timecreated, $c->strftimeformat);
$c->content = format_text($c->content, $c->format, $formatoptions);

0 comments on commit 3dd33e3

Please sign in to comment.