-
- Downloads
More escaping
- 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 <nkukard@lbsd.net>
parent
ee0e9830
No related branches found
No related tags found
Showing
- lib/backup/database.rb 6 additions, 5 deletionslib/backup/database.rb
- lib/backup/repository.rb 5 additions, 4 deletionslib/backup/repository.rb
- spec/models/gollum_wiki_spec.rb 2 additions, 2 deletionsspec/models/gollum_wiki_spec.rb
- spec/models/wiki_page_spec.rb 2 additions, 2 deletionsspec/models/wiki_page_spec.rb
- spec/support/test_env.rb 4 additions, 4 deletionsspec/support/test_env.rb
Please register or sign in to comment