rsnapshot / sourceforge-issues

Issues imported from sourceforge. These are just to track down everything on github. After closing all issues, we remove the repo again. Please don't open any issues here!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] "exclude" param should bypass split_long_args_in_quotes [sf#18]

bebehei opened this issue · comments

Reported by hashproduct on 2009-11-27 21:27 UTC
"exclude" parameters are currently translated to additional arguments in the "rsync_long_args", which means they are subject to word splitting by split_long_args_with_quotes. I can't think of any case in which the splitting would be useful, and it causes needless pain when specifying an exclude pattern containing a space. The excludes should be contributed directly as an array of arguments without going through split_long_args_with_quotes. See https://sourceforge.net/mailarchive/forum.php?thread\_name=1259187611.2009.366.camel%40mattlaptop2.local&forum\_name=rsnapshot-discuss .