You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Howard Fear <hs...@pooh.pageplus.com> on 1997/02/09 07:01:33 UTC
Re: [PATCH] SSI handling of braces fix
Ben Laurie writes:
> > * escaping '{''s in SSI has changed. Bug?
> > Message-ID: <Pi...@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