Commit a93b2172 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  This change of the Win32-only code path of http_core and util_script
  now passes the %1 and %* arguments from the script interpreter (usually
  the registry shell\open\command entry) all the way back to the child
  processing code, so we make an intellegent decision about converting
  all cgi script paths to a short path, unless the script interpreter
  has a quoted "%1" argument.  The quoted "%1" argument assures us that
  this script safely handles long paths, including spaces and other odd
  characters within the filename.  [The %* indicates the position for
  additional arguments, which are otherwise appended to the command.]
  We make a bold assumption that cmd.exe likes long paths, while its
  older cousin command.com may not.

  This patch also adds environment variable expansion within the script
  interpreter processing for the registry, as %windir%/somecommand.exe
  is a somewhat common in the shell\open\command entries.

  This patch finally changes the .bat/.cmd processing to retrieve the
  registry shell\open\command values for those file types if the
  ScriptInterpreterSource Registry directive is in use.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@86985 13f79535-47bb-0310-9956-ffa450edef68
parent d3cdd753
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment