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 33078] Mixing "+" and non-"+" options in <Directory> result in strange behavour
Date Wed, 02 Apr 2008 10:00:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=33078





--- Comment #5 from Sönke Tesch <st@kino-fahrplan.de>  2008-04-02 03:00:13 PST ---
Created an attachment (id=21764)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21764)
Reject option combinations that (at best) don't make much sense.

Attached patch enforces the following:

- Either merge-options or non-merge-options may be used, i.e. you cannot mix
'+a' or '-a' with 'a' options anymore. The result in these cases has always
been undefined and probably cannot be defined anyway.
Exception: 'All -a' or 'None +a' (but not '+a None', see below), in order to
conveniently 'set all options except this'.

- Options All and None may not be used as mergers, i.e. reject +All, -All,
+None, -None. There's no use in these options, '+a +b +All' is 'All', '+a +b
-All' is 'None', and who would want to add or remove just nothing?

- All and None must be the first option given. 'a b All' is equal to 'All', and
'Indexes None' has at best an undefined result, it might be 'Indexes' as well
as 'None' (and, by implementation, is 'None').


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message