From b8610fc555c6de34e2433436e526f4310e647c4a Mon Sep 17 00:00:00 2001 From: frozeus Date: Sun, 1 Mar 2015 15:09:31 +0100 Subject: [PATCH] Update class-app.php Fix bug #389 --- src/_h5ai/server/php/inc/class-app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_h5ai/server/php/inc/class-app.php b/src/_h5ai/server/php/inc/class-app.php index 9b804b61..53477c02 100644 --- a/src/_h5ai/server/php/inc/class-app.php +++ b/src/_h5ai/server/php/inc/class-app.php @@ -80,7 +80,7 @@ class App { $parts = explode("/", $rel_path); $encoded_parts = array(); foreach ($parts as $part) { - if ($part) { + if ($part != "") { $encoded_parts[] = rawurlencode($part); } }