Skip to content

Commit 007c706

Browse files
committed
Fixed Content-Disposition regex
1 parent 6619732 commit 007c706

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A Python 3 script to __automate the download of SQL backups via a [phpMyAdmin](h
77

88
This is useful when your web hosting provider does not grant you access the the console (for `mysqldump`) but you want to automate the backup of your database (without having to manually use the browser).
99

10-
It has been tested with Python 3.4+ and phpMyAdmin 4.3.6, 4.5.4.1, 4.7.0-dev
10+
It has been tested with Python 3.4+ on Linux and Windows and phpMyAdmin 4.3.6, 4.5.4.1 and 4.7.0-dev
1111

1212
_Note_: The web interface of phpMyAdmin may change in the future and break this script. Please file a bug report (including your version of phpMyAdmin) if you encounter this issue.
1313

phpmyadmin_sql_backup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@
3131

3232
import grab
3333

34-
__version__ = '2016-03-12.1'
3534

36-
CONTENT_DISPOSITION_FILENAME_RE = re.compile(r'^.*filename="(?P<filename>[^"]+).*$')
35+
__version__ = '2016-03-12.2'
36+
37+
CONTENT_DISPOSITION_FILENAME_RE = re.compile(r'^.*filename="(?P<filename>[^"]+)".*$')
3738
DEFAULT_PREFIX_FORMAT = r'%Y-%m-%d--%H-%M-%S-UTC_'
3839

3940

0 commit comments

Comments
 (0)