This is an Apache issue (or perhaps "feature", as it is intended
behavior).  It is possible to disable this, but you should consider
simply filtering out the forward slash character from searches or
passing the search in the query string.

-Matt

On Saturday, June 13, 2009, Deepak <d88...@gmail.com> wrote:
> Hi,
>
> I just found a bug in my application. Can somebody advise me on how to
> solve this one?
>
> Deatils are as follows:
> +++++++++++++++++++++++
> 1. I am using zend_paginator
> 2. I have a search form which returns the results in paginator.
> 3. Normally when I search (which doesn't contain forward slash (/), my
> paginator works fine.
>
> For example: If I search for term "phone", it shows me result with few
> pages and my next page (page 2) link in my paginator looks like this:
>
> http://mysite/search/index/page/2/srchstr/phone
>
> and I can go to any page I like
>
> 4. When I type the search term containing slash (/),  paginator wont
> go to next page
>
> For example: If I search for term "A/T" the URL to my second page
> looks like this:
>
> http://mysite/search/index/page/2/srchstr/A%2FT
>
> so If I try to go to next page, I get "404 Not Found" Error.
>
> I am guessing that the slash in my search string is miss-interpreted as URL
>
> My question is:
>
>   1. Am I correct? ( i.e. it is due to the slash in my search term)?
>   2. If yes how to make paginator ignore that?
>
> Greatly appreciate any suggestion.
>
> By the way my Zend version is 1.7.4
>
> Thanks!
>

Reply via email to