capistrano/capistrano — pull request #316 by bison (2012-11-28 19:10:37+00:00)
Title: Escape globs in directory names when using copy_cache

The queue_files method of the copy deploy strategy passes directory
names to Dir.glob. This commit causes glob characters in the path to
be escaped beforehand. Otherwise, directories with names like 'app{1}'
would fail to be matched.