- Timestamp:
- 03/13/2024 02:24:13 PM (13 months ago)
- Location:
- backuply/trunk
- Files:
-
- 6 edited
-
backuply.php (modified) (1 diff)
-
functions.php (modified) (2 diffs)
-
init.php (modified) (1 diff)
-
main/ajax.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
restore_ins.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
backuply/trunk/backuply.php
r3036756 r3050547 4 4 Plugin URI: http://wordpress.org/plugins/backuply/ 5 5 Description: Backuply is a Wordpress Backup plugin. Backups are the best form of security and safety a website can have. 6 Version: 1.2. 76 Version: 1.2.8 7 7 Author: Softaculous 8 8 Author URI: https://backuply.com -
backuply/trunk/functions.php
r3023444 r3050547 1613 1613 } 1614 1614 1615 function backuply_clean_file_name($file){1616 return str_replace(['..', '/'], '', $file);1617 }1618 1619 1620 1615 function backuply_pattern_type_text($type) { 1621 1616 … … 1804 1799 if(!empty($files)){ 1805 1800 foreach($files as $file){ 1806 if(!file_exists($file) ){1801 if(!file_exists($file) || is_dir($file)){ 1807 1802 continue; 1808 1803 } -
backuply/trunk/init.php
r3036756 r3050547 11 11 } 12 12 13 define('BACKUPLY_VERSION', '1.2. 7');13 define('BACKUPLY_VERSION', '1.2.8'); 14 14 define('BACKUPLY_DIR', dirname(BACKUPLY_FILE)); 15 15 define('BACKUPLY_URL', plugins_url('', BACKUPLY_FILE)); -
backuply/trunk/main/ajax.php
r3033242 r3050547 76 76 77 77 $filename = backuply_optget('backup_name'); 78 $filename = backuply_clean_file_name($filename);78 $filename = sanitize_file_name($filename); 79 79 $backups_dir = backuply_glob('backups'); 80 80 … … 593 593 $backup_log_name = !empty($_GET['file_name']) ? backuply_optget('file_name') : 'backuply_backup_log.php'; 594 594 $location_id = !empty($_GET['proto_id']) ? backuply_optget('proto_id') : ''; 595 $backup_log_name = backuply_clean_file_name($backup_log_name);595 $backup_log_name = sanitize_file_name($backup_log_name); 596 596 597 597 $log_fname = !empty($is_restore) ? 'backuply_restore_log.php' : $backup_log_name; … … 983 983 } 984 984 985 $filename = sanitize_ text_field($_POST['filename']);985 $filename = sanitize_file_name($_POST['filename']); 986 986 $bcloud = backuply_load_remote_backup('bcloud'); 987 987 -
backuply/trunk/readme.txt
r3036756 r3050547 5 5 Tested up to: 6.4 6 6 Requires PHP: 5.5 7 Stable tag: 1.2. 77 Stable tag: 1.2.8 8 8 License: LGPL v2.1 9 9 License URI: http://www.gnu.org/licenses/lgpl-2.1.html … … 86 86 == Changelog == 87 87 88 = 1.2.8 (March 13 2024) = 89 * [Improvement] We have made improvements to make Backup Downloads better. 90 88 91 = 1.2.7 (February 16 2024) = 89 92 * [Bug-Fix] Version 1.2.5 got included in the plugin package, this release is to fix that. -
backuply/trunk/restore_ins.php
r3033242 r3050547 1877 1877 $path = str_replace('\\\\', '/', $path); 1878 1878 $path = str_replace('\\', '/', $path); 1879 $path = str_replace('//', '/', $path); 1879 1880 return rtrim($path, '/'); 1880 1881 }
Note: See TracChangeset
for help on using the changeset viewer.