From 4fcad78f54873a5ae86a88199015545ece1b8cb4 Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Fri, 5 Jun 2009 16:10:08 -0700 Subject: Update golden file of Xss test --- modules/gallery/tests/xss_data.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/gallery/tests/xss_data.txt b/modules/gallery/tests/xss_data.txt index 797ca9bb..e3dbb188 100644 --- a/modules/gallery/tests/xss_data.txt +++ b/modules/gallery/tests/xss_data.txt @@ -279,7 +279,7 @@ modules/gallery/views/simple_uploader.html.php 30 $item->ti modules/gallery/views/simple_uploader.html.php 77 DIRTY $item->id modules/gallery/views/simple_uploader.html.php 81 DIRTY $csrf modules/image_block/views/image_block_block.html.php 3 DIRTY $item->url() -modules/image_block/views/image_block_block.html.php 4 DIRTY $item->thumb_image(array("class" => "gThumbnail")) +modules/image_block/views/image_block_block.html.php 4 DIRTY $item->thumb_img(array("class" => "gThumbnail")) modules/info/views/info_block.html.php 6 $item->title modules/info/views/info_block.html.php 11 $item->description modules/info/views/info_block.html.php 17 $item->name @@ -613,7 +613,7 @@ themes/default/views/photo.html.php 32 DIRTY $item->re themes/default/views/photo.html.php 36 DIRTY $theme->resize_bottom($item) themes/default/views/photo.html.php 40 $item->title themes/default/views/photo.html.php 41 $item->description -themes/default/views/photo.html.php 44 DIRTY $theme->photo_bottom() +themes/default/views/photo.html.php 47 DIRTY $theme->photo_bottom() themes/default/views/sidebar.html.php 2 DIRTY $theme->sidebar_top() themes/default/views/sidebar.html.php 6 DIRTY $theme->album_menu() themes/default/views/sidebar.html.php 8 DIRTY $theme->photo_menu() -- cgit v1.2.3 From 275c25eb5670e25fad25830cf0c30cd804dce41f Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 6 Jun 2009 08:37:49 +0800 Subject: Add the exception message to the trace string when there's a graphics failure. Signed-off-by: Bharat Mediratta --- modules/gallery/helpers/graphics.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php index 175ba947..4846fa8a 100644 --- a/modules/gallery/helpers/graphics.php +++ b/modules/gallery/helpers/graphics.php @@ -170,6 +170,7 @@ class graphics_Core { // Something went wrong rebuilding the image. Leave it dirty and move on. // @todo we should handle this better. Kohana::log("error", "Caught exception rebuilding image: {$item->title}\n" . + $e->getMessage() . "\n" . $e->getTraceAsString()); return false; } -- cgit v1.2.3