You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "J.W.Schultz" <jw...@techpubs.amat.com> on 1998/03/10 05:20:55 UTC

mod_include/1928: SSI variables now local to SSI Script

>Number:         1928
>Category:       mod_include
>Synopsis:       SSI variables now local to SSI Script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Mar  9 20:30:00 PST 1998
>Last-Modified:
>Originator:     jw@techpubs.amat.com
>Organization:
apache
>Release:        1.3b5
>Environment:
SunOS 4.1.4
gcc version 2.6.0
>Description:
Refer to test case below.
Variables set in nested SSI stream are not available to the outer layer
when the nesting is a result of a cgi.
This was not the case in 1.2b7
>How-To-Repeat:
SSI doc with <!--#set var="layer1" value=1>
    <!--#include virtual="/cgi-bin/test1" -->
    <!--#printenv -->
cgi-bin/test1 outputs "Location: /layer2.htm\n\n"
/layer2.htm contains <!--#set var="layer2" value="2" -->
    <!--#printenv -->
>Fix:
Defer SSI processing of substreams until included in the final stream
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]