--- a/web/lib/Zend/Controller/Router/Route/Static.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Controller/Router/Route/Static.php Sun Apr 21 21:54:24 2013 +0200
@@ -15,8 +15,8 @@
* @category Zend
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- * @version $Id: Static.php 23210 2010-10-21 16:10:55Z matthew $
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @version $Id: Static.php 24593 2012-01-05 20:35:02Z matthew $
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
@@ -30,7 +30,7 @@
*
* @package Zend_Controller
* @subpackage Router
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Controller_Router_Route_Static extends Zend_Controller_Router_Route_Abstract
@@ -62,7 +62,7 @@
*/
public function __construct($route, $defaults = array())
{
- $this->_route = trim($route, '/');
+ $this->_route = trim($route, self::URI_DELIMITER);
$this->_defaults = (array) $defaults;
}
@@ -83,7 +83,7 @@
return $this->_defaults;
}
} else {
- if (trim($path, '/') == $this->_route) {
+ if (trim($path, self::URI_DELIMITER) == $this->_route) {
return $this->_defaults;
}
}