www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J.W.Schultz ...@techpubs.amat.com>
Subject mod_include/1928: SSI variables now local to SSI Script
Date Tue, 10 Mar 1998 04:20:55 GMT

>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 <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message