[pve-devel] r5036 - pve-common/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Aug 20 10:53:28 CEST 2010


Author: dietmar
Date: 2010-08-20 08:53:28 +0000 (Fri, 20 Aug 2010)
New Revision: 5036

Modified:
   pve-common/trunk/RESTHandler.pm
Log:
bug fix


Modified: pve-common/trunk/RESTHandler.pm
===================================================================
--- pve-common/trunk/RESTHandler.pm	2010-08-20 08:19:18 UTC (rev 5035)
+++ pve-common/trunk/RESTHandler.pm	2010-08-20 08:53:28 UTC (rev 5036)
@@ -175,7 +175,7 @@
 	    die "unsupported fragmentDelimiter '$fd'" 
 		if $fd ne '';
 
-	    $stack = [ join ('/', @$stack) ];
+	    $stack = [ join ('/', @$stack) ] if scalar(@$stack);
 	}
 
 	return $subh->find_handler($method, $stack, $uri_param);




More information about the pve-devel mailing list