Hi, 
I'm using a Zend_Controller_Router_Route_Regex to make searches on my 
application, 
unfortunatelly, when I search special characters like double quote " or also < 
or > I get 
the Apache 403 forbidden error

You don't have permission to access /staticword-dynamicword".html
on this server.

This is my route

      $route = new Zend_Controller_Router_Route_Regex(
        'staticword-(.+)\.html',
        array(
          'module'=>'default',
          'controller' => 'search',
          'action' => 'index',
          'lang' => ''
        ),
        array(
          1 => 'query'
        ),
        'staticword-%s.html'
      );
      $router->addRoute('regexQuery', $route);

If I use a normal form/get search ( searchcontroller/?query=[...]  ), I have no 
problem, I can use any character.
I know it is more related to Apache than ZF, but I hope somebody could explain 
me what I should do to make it works.

Thank you

Sergio Rinaudo



_________________________________________________________________
Messenger è su Hotmail. Scopri le novità.
http://www.messenger.it/accediWebMessengerHotmail.aspx

Reply via email to