-- St??phane Thomas <[EMAIL PROTECTED]> wrote
(on Tuesday, 28 November 2006, 10:19 AM -0800):
> 
> I had the same problem than you, Asger Hallas and Martel Valgoerad. However
> if you update line 464 and remove the latest change done in
> Zend_Controller_Request_Http (aka removing the minus 1) it's working fine.
> So you would have:
> 
> Line 464: if ((null !== $baseUrl) && (false === ($pathInfo =
> substr($requestUri, strlen($baseUrl))))) {
> 
> But this is just a temporary workaround...

Actually, I reverted the change a few hours ago, and if you update from SVN, you
should be set.


> Michael Depetrillo wrote:
> > 
> > in the Zend_Controller_Http_Request file I see the following line which is
> > causing the behavior.
> > 
> > Line 464: if ((null !== $baseUrl) && (false === ($pathInfo =
> > substr($requestUri, strlen($baseUrl) - 1)))) {
> > 
> > strlen($baseUrl) returns -1 making substr() take the last letter of
> > $requestUri as $pathInfo.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to