Follow up to [FIX: Empty backup names with unicode site titles][1] - Use .presence - "It's cleaner" - Update spec to use System.system_user so it is more readable [1]: c8661674d4
c8661674d4
If a site title contains unicode it may end up with an empty backup filename because of the rails `parameterize` method we are calling. This fix ensures that the backup filenames default to "discourse" if the parameterized site title is empty. Bug reported [here][1]. [1]: https://meta.discourse.org/t/backup-checksum-and-backup-name-missing-when-unicode-site-name/123192?u=blake