]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix the rewrite_map program invocation for Win32. Someone borrowed
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 21 Jun 2004 18:31:27 +0000 (18:31 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 21 Jun 2004 18:31:27 +0000 (18:31 +0000)
commit24d7e45d062b79d54e204cc17015fbdd88f9ffd6
tree2093808a532a99b497debcfb975526675b7b62d4
parentd3647a3aee176b71fec553bb491e4687bc1e0699
  Fix the rewrite_map program invocation for Win32.  Someone borrowed
  the pass-environ[][] construct from unix, but CreateProcess is much
  happier to copy the current environment when passed NULL for the
  flat environment strings argument (properly formatted, that argument
  must be null or a string in the format "var1=val\0var2=val\0\0".)

  The only other CreateProcess call which does *not* pass NULL for
  the envvars arg, in util_script.c for cgi, does the right thing
  in constructing that argument.

Submitted by: Philip Gladstone [pgladstone cisco.com]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@104005 13f79535-47bb-0310-9956-ffa450edef68
src/modules/standard/mod_rewrite.c