From 051a7ae27a49c7a5687c2ee32b92962d490218de Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 27 Oct 2009 20:20:32 -0700 Subject: Refix #812, by removing the decoding in file_proxy instead of not encoding in Item_Model when creating the relative_path_cache. --- modules/gallery/models/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gallery/models') diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php index 63ab3598..fc0f0193 100644 --- a/modules/gallery/models/item.php +++ b/modules/gallery/models/item.php @@ -294,7 +294,7 @@ class Item_Model extends ORM_MPTT { ->orderby("left_ptr", "ASC") ->get() as $row) { // Don't encode the names segment - $names[] = $row->name; + $names[] = rawurlencode($row->name); $slugs[] = rawurlencode($row->slug); } $this->relative_path_cache = implode($names, "/"); -- cgit v1.2.3