summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhalid Baheyeldin2010-08-04 22:26:53 (GMT)
committerKhalid Baheyeldin2010-08-04 22:26:53 (GMT)
commit50f4cbd015c3121be28e804690ebf50455df4037 (patch)
treea08f99411283e0cca514d23d0f6a5812012b3f87
parent331db5eacb881880be5c55ca7194d80abe4df1dc (diff)
SA-CONTRIB-2010-0796.x-1.21
-rw-r--r--performance/performance.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/performance/performance.module b/performance/performance.module
index 072a883..85d617b 100644
--- a/performance/performance.module
+++ b/performance/performance.module
@@ -487,7 +487,7 @@ function performance_view_summary() {
if ($data['num_accesses'] > $threshold) {
$shown++;
- $row_data[] = $data['path'];
+ $row_data[] = check_plain($data['path']);
$row_data[] = format_date($data['last_access'], 'small');
$row_data[] = $data['num_accesses'];
$row_data[] = number_format($data['bytes_max']/1024/1024, 2);
@@ -567,7 +567,7 @@ function performance_view_details() {
$row_data[] = $data['pid'];
$row_data[] = format_date($data['timestamp'], 'small');
- $row_data[] = $data['path'];
+ $row_data[] = check_plain($data['path']);
$row_data[] = number_format($data['bytes']/1024/1024, 2);
$row_data[] = $data['ms'];
$row_data[] = ($data['anon']) ? t('Yes') : t('No');