httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [Httpd Wiki] Update of "Recipes/QueryString" by VinkoVrsalovic
Date Wed, 30 May 2007 15:39:09 GMT
On 5/30/07, Vinko Vrsalovic <vinkovb@gmail.com> wrote:
>
>
> On 5/30/07, Joshua Slive <joshua@slive.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.org/mod_mbox/httpd-dev/200705.mbox/%3cop.tsvnf2butl8ewe@redgene.mta.liwest.at%3e

Joshua.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message