MDL-11414 fixed handling of log urls (problem reported by Andreas Nolden); backported from HEAD

This commit is contained in:
skodak
2007-09-23 13:16:53 +00:00
parent 9a72d21147
commit de9eaaac1d
+1 -1
View File
@@ -408,7 +408,7 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per
$log->url = strip_tags(urldecode($log->url)); // Some XSS protection
$log->info = strip_tags(urldecode($log->info)); // Some XSS protection
$log->url = str_replace('&', '&', $log->url); /// XHTML compatibility
$log->url = s($log->url); /// XSS protection and XHTML compatibility - should be in link_to_popup_window() instead!!
echo '<tr class="r'.$row.'">';
if ($course->id == SITEID) {