httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <>
Subject Re: Escaping arguments and ap_call_exec
Date Thu, 24 Jun 1999 14:35:22 GMT
Mikael Vidstedt wrote:
> Hello!
> I'm writing a module for apache under windows. The module should start a
> program and I use ap_bspawn_child to do that. My function (the second
> argument to ap_bspawn_child) calls ap_call_exec. r->filename is set to the
> name of the program I want to run, and r->args is a string containing the
> argument to that program. Now, the trouble is that my argument string is
> escaped when I receive it in the program, and spaces in the original
> argument string are treated as argument separators.
Yep, looks like a bug in ap_call_exec. I'll look at it when I get some

Bill Stoddard

View raw message