httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
Subject [RFD] ap_getword_conf() problem
Date Mon, 13 Jul 1998 17:58:21 GMT
The configuration support routine ap_getword_conf() doesn't distinguish
the cases where an argument to a directive is missing, and where an empty
string is configured, like in

  # remove descriptive text inherited from parent dir
  AddDescription "" index.html

Here, ap_getword_conf() works just as if the configuration contained:
  AddDescription index.html

and barfs:
 AddDescription requires at least two arguments, Descriptive text followed by one or more

The interface of ap_getword_conf() currently doesn't allow for a
different handling of the two cases. What do you think would be "the
correct" solution?

| S I E M E N S |  <>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

View raw message