httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: updated status for 1.2b7
Date Sun, 16 Feb 1997 11:33:55 GMT
Dean Gaudet wrote:
> >   * escaping '{''s in SSI has changed.  Bug?
> >     Message-ID: <Pine.BSF.3.91.970203113400.925C-100000@localhost.imdb.com>
> > 	Status: Ben posted patch 
> 
> While Ben's patch looks correct I think the user is mistaken.  ${xxx} is
> substituted everywhere, including within quoted strings, it says so in the
> docs (well it doesn't talk about {}, just $ expansion).  Ben's patch just
> fixes the behaviour so that when ${ is seen, it considers everything up to
> the next } as part of the variable name.

The snag is that the substitution only does the most elementary kind, and
doesn't handle conditional substitutions and the like. All my patch does is
to defer the substitution for the shell to do, instead of just doing it wrong.
Note that my patch has no effect on simple substitutions.

Cheers,

Ben.

-- 
Ben Laurie                Phone: +44 (181) 994 6435  Email: ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author

Mime
View raw message