Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…e to double URI encoding
  • Loading branch information...
commit f9782ac4a56480d92f5d67d120869d201ddc8bae 1 parent 4a67804
Damien Bezborodov dbezborodovrp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  comment/lib.php
2  comment/lib.php
View
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.