improve escaping of user paths

remove usage of if and () blocks as they clashed with user paths containing ()
postpone quotation of variables to prevent double escaping ("")
fix #3906

(cherry picked from commit 1cc095ec32a5b623f88c312f497ac5469887be97)
This commit is contained in:
Costin Leau 2013-10-14 23:55:05 +03:00
parent 376d2d873f
commit 2378e9a93c

Binary file not shown.