From: Jeff Trawick Date: Fri, 23 Aug 2002 22:04:32 +0000 (+0000) Subject: add some comments pertaining to the use of apr_tokenize_to_argv for X-Git-Tag: AGB_BEFORE_AAA_CHANGES~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ce6081372d67dd3c8e58e7999b31e55e674f199;p=apache 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 --- diff --git a/docs/manual/mod/mod_ext_filter.html.en b/docs/manual/mod/mod_ext_filter.html.en index 73d99f6dc2..9fff06cb2c 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 cd810c6e09..51895dafb9 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