The module enables fine and no complains, but when I try and upload a *mysql.gz file using the restore feature Drupals file verification code seems to kick in and tells me it is not an allowed file extension.
This happens with Drupal 7 dev from July 4 and the current dev snapshot of Backup and Migrate.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | backup_migrate-846434-5.patch | 917 bytes | JeremyFrench |
| #4 | backup_migrate-846434-4.patch | 912 bytes | tim.plunkett |
| #2 | backup_migrate.module.patch | 955 bytes | VladRM |
Comments
Comment #1
tsvenson commentedNow tried with alpha 6 with the same error:
Also got this log message:
Comment #2
VladRM commentedI confirm the issue.
We have backup_migrate.module @line 618:
I added a validator for file_save_upload:
The file extensions passed to the validator may be insufficient, please review.
Comment #3
VladRM commentedChanged status to 'needs review'.
Comment #4
tim.plunkettMulti-line arrays aren't necessary in this case (under 80 chars, only one element). See system_theme_settings_validate() for a core example.
Otherwise, looks great! Someone else please RTBC.
Comment #5
JeremyFrench commentedI think you need mysql as well.
Comment #6
ronan commentedApplied, Thanks all.