[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
[webdav-jp:0946] mod_encoding 1.3 strict config patch
- To: webdav-jp@xxxxxxxx
- Subject: [webdav-jp:0946] mod_encoding 1.3 strict config patch
- From: Tatsuki Sugiura <sugi@xxxxxxxxx>
- Date: Wed, 14 Jan 2004 19:33:41 +0900
- Delivered-to: webdav-jp@Begi.net
- Posted: Wed, 14 Jan 2004 19:33:36 +0900
- User-agent: Wanderlust/2.11.22 (Wonderwall) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (賢木)
杉浦です。
mod_encoding 1.3 なのですが、Directory や Location ディレクティブに
NormalizeUsername 以外の設定を書いても無効ですよね。
しかし、書けてしまいます。
これがかなり混乱するので、ちゃんとエラーになるようなパッチを作ってみました。
出来ればマージしていただければ幸いです。
--
Tatsuki Sugiura mailto:sugi@xxxxxxxxx
--- mod_encoding.orig/mod_encoding.c 2004-01-13 04:50:24.000000000 +0900
+++ mod_encoding/mod_encoding.c 2004-01-13 04:55:51.000000000 +0900
@@ -314,23 +314,23 @@
static const command_rec mod_enc_commands[] = {
{"EncodingEngine",
set_encoding_engine, NULL,
- OR_ALL, FLAG, "Usage: EncodingEngine (on|off)"},
+ RSRC_CONF, FLAG, "Usage: EncodingEngine (on|off)"},
{"SetServerEncoding",
set_server_encoding, NULL,
- OR_ALL, TAKE1, "Usage: SetServerEncoding <enc>"},
+ RSRC_CONF, TAKE1, "Usage: SetServerEncoding <enc>"},
{"AddClientEncoding",
add_client_encoding, NULL,
- OR_ALL, RAW_ARGS, "Usage: AddClientEncoding <agent> <enc> [<enc> ...]"},
+ RSRC_CONF, RAW_ARGS, "Usage: AddClientEncoding <agent> <enc> [<enc> ...]"},
{"DefaultClientEncoding",
default_client_encoding, NULL,
- OR_ALL, RAW_ARGS, "Usage: DefaultClientEncoding <enclist>"},
+ RSRC_CONF, RAW_ARGS, "Usage: DefaultClientEncoding <enclist>"},
{"NormalizeUsername",
set_normalize_username, NULL,
- OR_ALL, FLAG, "Usage: NormalizeUsername (on|off)"},
+ RSRC_CONF|ACCESS_CONF, FLAG, "Usage: NormalizeUsername (on|off)"},
{NULL}
};