From nobody@hyperreal.org Sat Jul 19 12:26:43 1997 Received: (from nobody@localhost) by hyperreal.org (8.8.5/8.8.5) id MAA11669; Sat, 19 Jul 1997 12:26:43 -0700 (PDT) Message-Id: <199707191926.MAA11669@hyperreal.org> Date: Sat, 19 Jul 1997 12:26:43 -0700 (PDT) From: Tim Kniveton Reply-To: tim@neu.sgi.com To: apbugs@hyperreal.org Subject: Code in http_core.c does not allow more than one tag directive on a line X-Send-Pr-Version: 3.2 >Number: 886 >Category: general >Synopsis: Code in http_core.c does not allow more than one tag directive on a line >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Jul 19 12:30:02 1997 >Last-Modified: Sat Jul 19 13:30:50 PDT 1997 >Originator: tim@neu.sgi.com >Organization: >Release: 1.2.1 >Environment: FreeBSD intend.pc.cc.cmu.edu 2.2-BETA_A FreeBSD 2.2-BETA_A #0: Mon Feb 3 00:50:32 EST 1997 viento@intend.pc.cc.cmu.edu:/usr/src/sys/compile/INTEND i386 >Description: in http_core.c, the interpretation of tag directives seems to be flawed. If you put more than one tag on a line (for example, blah blah), it will try to compare against module "x.c>blah blahHow-To-Repeat: Should be self-evident -- just try using more than one on a line, and look at what the function does >Fix: Well, a start to fixing it is in the full description, which is to change strrchr to strchr. However, it still needs to be changed to interpret the rest of the line (i.e. the stuff in between the tags) correctly. %0 >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Sat Jul 19 13:30:50 PDT 1997 State-Changed-Why: Um do any of the docs indicate this should be possible? Because we certainly don't support it, and probably won't ever. Not without a complete and total config syntax rewrite -- right now end-of-line is a very significant marker in the config language. The need for it is driven by the dynamic nature of the config language. While it's certainly possible to build an extensible language without a magic end-of-line, it doesn't seem worth the effort at the moment. But hey if bind can go from directive-per-line to freeform whitespace delimited then maybe apache will someday too. Dean >Unformatted: