BASE-415:  Regression link to user profile in comments block fails due to double URI encoding

Author: Damien Bezborodov <dbezborodov@netspot.com.au>
Reviewed-by: Corey Wallis <corey.wallis@netspot.com.au>
Reviewed-by: Rajesh Taneja <rajesh@moodle.com>