mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 02:27:17 +08:00
FIX: Backup validation wasn't escaping hyphens
This commit is contained in:
@ -212,7 +212,7 @@ describe Admin::BackupsController do
|
||||
described_class.any_instance.expects(:has_enough_space_on_disk?).returns(true)
|
||||
|
||||
xhr :post, :upload_backup_chunk,
|
||||
resumableFilename: 'test.tar.gz',
|
||||
resumableFilename: 'test_Site-0123456789.tar.gz',
|
||||
resumableTotalSize: 1,
|
||||
resumableIdentifier: 'test',
|
||||
resumableChunkNumber: '1',
|
||||
|
Reference in New Issue
Block a user