[bugs] [Bug 954] New - trailing slash in menu.php icon_path
bugs@bugs.horde.org
bugs@bugs.horde.org
Wed, 15 May 2002 17:41:37 -0300
http://bugs.horde.org/show_bug.cgi?id=954
*** shadow/954 Wed May 15 17:41:37 2002
--- shadow/954.tmp.6753 Wed May 15 17:41:37 2002
***************
*** 0 ****
--- 1,30 ----
+ Bug#: 954
+ Product: Horde
+ Version: 2.1 Unstable
+ Platform: Mozilla 5.x
+ OS/Version: Linux
+ Status: NEW
+ Resolution:
+ Severity: trivial
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org
+ ReportedBy: dau@diala.greenpeace.org
+ URL:
+ Summary: trailing slash in menu.php icon_path
+
+ /horde/imp/config/menu.php
+ Adding a new menu entry with a trailing slash in icon path will result in a
+ slightly malformed URL:
+
+ $_menu[0] = array(
+ 'url' => 'http://test.com',
+ 'text' => 'GL3 Help',
+ 'icon' => 'test.gif',
+ 'icon_path' => 'http://test.com/images/',
+ 'target' => '_blank',
+ 'onclick' => ''
+ );
+
+ Resulting URL: http://test.com/images//test.gif