gitlabhq/gitlabhq — pull request #5500 by nkukard (2013-10-31 19:01:01+00:00)
Title: More escaping

This should be the last of them @jacobvosmaer

- Database name may contain characters which are not shell friendly
- Database password could contain the same
- While we at it there is no harm in escaping generated paths too
- Refactored 2-line system(command)

Signed-off-by: Nigel Kukard