httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32346] New: - mod_include/include virtual checks content-type is text/
Date Mon, 22 Nov 2004 15:11:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32346

           Summary: mod_include/include virtual checks content-type is text/
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_include
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: topia@clovery.jp


I tried use <!--#include virtual="bar.xhtml" -->, but get

> [Mon Nov 22 23:20:05 2004] [error] [client 127.0.0.1] unable to include
potential exec "bar.xhtml" in parsed file foo.xhtml

error. mod_include.c has following line:

>        if (!error_fmt && (ctx->flags & SSI_FLAG_NO_EXEC) &&
>            rr->content_type && strncmp(rr->content_type, "text/", 5)) {
>
>            error_fmt = "unable to include potential exec \"%s\" in parsed "
>                        "file %s";
>        }

This check is correct IncludesNoExec semantics?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message