SECURITY: Don't use backticks for exporting your archive

This commit is contained in:
Robin Ward 2017-03-16 16:24:59 -04:00
parent 0f6a2b912a
commit c14d98354b

View File

@ -48,8 +48,7 @@ module Jobs
end
# compress CSV file
`gzip -5 #{absolute_path}`
system('gzip', '-5', absolute_path)
ensure
notify_user(file_name, absolute_path)
end