Re: url containing %2F / mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 29, 2008 at 05:10:06PM +0100, Sylvain Thénault wrote:
> On Tue, Jan 29, 2008 at 05:07:18PM +0100, Sylvain Thénault wrote:
> > On Tue, Jan 29, 2008 at 03:39:22PM +0000, Nick Kew wrote:
> > > On Tue, 29 Jan 2008 16:31:18 +0100
> > > Sylvain Thénault <sylvain.thenault@xxxxxxxxxx> wrote:
> > > 
> > > >  Any hint on how can I acheive this ?
> > > 
> > > Upgrade to 2.2.8 and read the CHANGES file.  Then you'll
> > > know what to look for in the docs (either -B or nocanon,
> > > depending on how you're configuring it).
> > 
> > Also I can't find any mention of "-B" in the CHANGES file and this is
> > not an easy word to google for... Would you have more info about this?
> 
> ok I've found it, I guess you're talking about the B option of rewrite
> rules :)

so... I've been playing with the B flag of RewriteRule without much more
success. I've now the inverse problem : all unescaped special
characters such as / always get encoded, eg if I access to

  myserver/path/something

the underlying server is seeing

  /path%2Fsomething

gaaargl.. Maybe I misunderstand what can be acheived with url
encoding/decoding. I thought that for instance %2F was allowing me to
have url such as

  myserver/path/sub%2Fpath/subsubpath

which would be interpreted as an uri path containing 3 parts, "path",
"sub/path" (with a slash in the middle which shouldn't be used as
separator) and "subsubpath". Is that correct?

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux