[Modules] [PATCH] Add environment variables to the params set for mod_transform

Vincent Bray noodlet at gmail.com
Sun May 27 18:24:51 EDT 2007


On 27/05/07, Vincent Bray <noodlet at gmail.com> wrote:
> Hi,
>
> Attached is a patch which sends r->subprocess_env to the params
> argument of xsltApplyStylesheet() for the 0.6.0 release of
> mod_transform, as requested by a user on #apache. It's my first
> attempt at doing anything useful with C but I've got thick skin so if
> it's crap, say so :-)

Something I forgot to mention: libxslt expects string params to be
quoted so at the moment it's necessary to use (note the nested quotes)
SetEnv foo "'bar'"

-- 
noodl



More information about the Modules mailing list