From e995b6c634abcfb23a55464428bf9cbea8f1d94b Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 23 Aug 2002 22:04:32 +0000 Subject: [PATCH] add some comments pertaining to the use of apr_tokenize_to_argv for building the command-line to the external program git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96507 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_ext_filter.html.en | 11 +++++++---- docs/manual/mod/mod_ext_filter.xml | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/manual/mod/mod_ext_filter.html.en b/docs/manual/mod/mod_ext_filter.html.en index 73d99f6dc26..9fff06cb2c0 100644 --- a/docs/manual/mod/mod_ext_filter.html.en +++ b/docs/manual/mod/mod_ext_filter.html.en @@ -196,10 +196,13 @@ close(SAVE); program name, the command line should be surrounded in quotation marks (e.g., cmd="/bin/mypgm arg1 arg2". Normal shell quoting is not necessary since the program is - run directly, bypassing the shell. In addition to the - standard CGI environment variables, DOCUMENT_URI, - DOCUMENT_PATH_INFO, and QUERY_STRING_UNESCAPED will also be set - for the program. + run directly, bypassing the shell. Program arguments are + blank-delimited. A backslash can be used to escape blanks + which should be part of a program argument. Any backslashes + which are part of the argument must be escaped with backslash + themselves. In addition to the standard CGI environment + variables, DOCUMENT_URI, DOCUMENT_PATH_INFO, and + QUERY_STRING_UNESCAPED will also be set for the program.
mode=mode
diff --git a/docs/manual/mod/mod_ext_filter.xml b/docs/manual/mod/mod_ext_filter.xml index cd810c6e099..51895dafb94 100644 --- a/docs/manual/mod/mod_ext_filter.xml +++ b/docs/manual/mod/mod_ext_filter.xml @@ -204,10 +204,13 @@ close(SAVE); program name, the command line should be surrounded in quotation marks (e.g., cmd="/bin/mypgm arg1 arg2". Normal shell quoting is not necessary since the program is - run directly, bypassing the shell. In addition to the - standard CGI environment variables, DOCUMENT_URI, - DOCUMENT_PATH_INFO, and QUERY_STRING_UNESCAPED will also be set - for the program. + run directly, bypassing the shell. Program arguments are + blank-delimited. A backslash can be used to escape blanks + which should be part of a program argument. Any backslashes + which are part of the argument must be escaped with backslash + themselves. In addition to the standard CGI environment + variables, DOCUMENT_URI, DOCUMENT_PATH_INFO, and + QUERY_STRING_UNESCAPED will also be set for the program.
mode=mode
-- 2.47.3