fixes #1166 - this is the backport of #1170 to 1-0-stable
escape quotes so that nfs export works [closes #1166]
This should document why the backslash is escaped too. A backslash is not a quote to me.
add comment to clarify escaping of quotes
comment added as per request
While this is a pretty bad bug, I'm going to not back port this to 1.0.x because it is fairly edge case. If this becomes some sort of common issue on 1.0.x I'll look back on it but at the moment it would be a pain to back port.
:-( unfortunate... our designers like to use spaces, quotes, etc. in their folder names... but I do get it... thanks for everything you do :-)