From 75e603961802b85cf670bd4db36fa73c0f68a221 Mon Sep 17 00:00:00 2001 From: Khalid Baheyeldin Date: Wed, 4 Aug 2010 22:31:46 +0000 Subject: [PATCH 1/1] SA-CONTRIB-2010-079 --- performance/performance.module | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/performance/performance.module b/performance/performance.module index 47382e6..9499095 100644 --- a/performance/performance.module +++ b/performance/performance.module @@ -347,7 +347,7 @@ function performance_view_summary() { $shown++; $rows[] = array('data' => array( - $data['path'], + check_plain($data['path']), format_date($data['last_access'], 'small'), $data['num_accesses'], number_format($data['bytes_max']/1024/1024, 2), @@ -422,7 +422,7 @@ function performance_view_details() { array( $data['pid'], format_date($data['timestamp'], 'small'), - $data['path'], + check_plain($data['path']), number_format($data['bytes']/1024/1024, 2), $data['millisecs'], ($data['anon']) ? t('Yes') : t('No'), -- 1.7.4.1