[dev] Re: ingo procmail patch
Martin Luethi
horde at humbapa.ch
Mon Mar 8 06:49:18 PST 2004
Mon, 08 Mar 2004 11:49:46 +0000 Ronny Adsetts
<ronny.adsetts at amazinginternet.com>:
> I already submitted a patch some time ago that was applied that allowed
> spaces in folder names with procmail filters by simply quoting the folder
> name string.
>
> I suspect this patch needs to be reverted - not had time to do a CVS update
> and check it out yet though...
your patch works fine for me :-)
but version 1.42 of ingo/lib/Script/procmail.php has:
return '"$DEFAULT/.' . str_replace(' ', '\ ', $folder) . '/"';
replacing " " with "\ " does not work on my system (procmail v3.22 on Linux)
procmail creates a new folder with "\" in its name
I think the best would be to add a new "scriptparams-option" in
config/backends.php. e.g.:
'escapespaces' => false
g. martin luethi
More information about the dev
mailing list