List Info

Thread: Re: Update of "Recipes/QueryString" by VinkoVrsalovic




Re: Update of "Recipes/QueryString" by VinkoVrsalovic
user name
2007-05-30 10:39:09
On 5/30/07, Vinko Vrsalovic <vinkovbgmail.com> wrote:
>
>
> On 5/30/07, Joshua Slive <joshuaslive.ca> wrote:
> > > Didn't know that... but I did a quick test:
> > >
> > >         RewriteRule /path/[^/]+ http://google.com
> > >
> > > and when accessing http://localhost/path/dsa() drove me to google. So
> I
> > > think it's not *that* messed up.
> >
> > The problem is extra escaping that occurs on the
substitution string. So
> try
> > RewriteRule /path/([^/]+) http://google.com/?q=$1
>
> Google tells me:
>
> The requested URL /?q=dsa() was not found on this
server.
>
> Address bar shows http://www.google.com/?q
=dsa()

Perhaps  is a safe character in this context. For details of
the problem, see:
http://mail-archives.apache.o
rg/mod_mbox/httpd-dev/200705.mbox/%3cop.tsvnf2butl8eweredgene.mta.liwest.at%3e

Joshua.

------------------------------------------------------------
---------
To unsubscribe, e-mail: docs-unsubscribehttpd.apache.org
For additional commands, e-mail: docs-helphttpd.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )