httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Fear <...@pooh.pageplus.com>
Subject Re: [PATCH] SSI handling of braces fix
Date Sun, 09 Feb 1997 06:01:33 GMT

Ben Laurie writes:
> >   * escaping '{''s in SSI has changed.  Bug?
> >     Message-ID: <Pine.BSF.3.91.970203113400.925C-100000@localhost.imdb.com>
> 
> This (untested) patch should fix the problem:

Ummm, I don't think so.  Actually, it works as designed.  mod_include
now does variable substitution so the user needs to escape the '$' to
pass it along to the shell.  Escaping the '{' works by accident - 
it causes the SSI variable to be terminated at just '$'.  Since this
isn't a valid variable, it gets passed along instead of being
substituted.

There is a small change that I think I can make which will make the
originator's specific example work without change because of its use
of ':='.  I'll try it tomorrow and send the results.

--
Howard Fear      I'm just a country perl hacker Jim.        hsf@pageplus.com
                    http://www.pageplus.com/~hsf/           hsf@redcape.com

Mime
View raw message