mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-44634 Regression: link to user profile in comments block fails due to double URI encoding
This commit is contained in:
parent
a9af43be51
commit
5d49b2b21d
@ -528,7 +528,7 @@ class comment {
|
||||
$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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user