Plugin Directory

Changeset 3050547 for backuply


Ignore:
Timestamp:
03/13/2024 02:24:13 PM (13 months ago)
Author:
softaculous
Message:

New version

Location:
backuply/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • backuply/trunk/backuply.php

    r3036756 r3050547  
    44Plugin URI: http://wordpress.org/plugins/backuply/
    55Description: Backuply is a Wordpress Backup plugin. Backups are the best form of security and safety a website can have.
    6 Version: 1.2.7
     6Version: 1.2.8
    77Author: Softaculous
    88Author URI: https://backuply.com
  • backuply/trunk/functions.php

    r3023444 r3050547  
    16131613}
    16141614
    1615 function backuply_clean_file_name($file){
    1616     return str_replace(['..', '/'], '', $file);
    1617 }
    1618 
    1619 
    16201615function backuply_pattern_type_text($type) {
    16211616       
     
    18041799    if(!empty($files)){
    18051800        foreach($files as $file){
    1806             if(!file_exists($file)){
     1801            if(!file_exists($file) || is_dir($file)){
    18071802                continue;
    18081803            }
  • backuply/trunk/init.php

    r3036756 r3050547  
    1111}
    1212
    13 define('BACKUPLY_VERSION', '1.2.7');
     13define('BACKUPLY_VERSION', '1.2.8');
    1414define('BACKUPLY_DIR', dirname(BACKUPLY_FILE));
    1515define('BACKUPLY_URL', plugins_url('', BACKUPLY_FILE));
  • backuply/trunk/main/ajax.php

    r3033242 r3050547  
    7676   
    7777    $filename = backuply_optget('backup_name');
    78     $filename = backuply_clean_file_name($filename);
     78    $filename = sanitize_file_name($filename);
    7979    $backups_dir = backuply_glob('backups');
    8080   
     
    593593    $backup_log_name = !empty($_GET['file_name']) ? backuply_optget('file_name') : 'backuply_backup_log.php';
    594594    $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);
    596596   
    597597    $log_fname = !empty($is_restore) ? 'backuply_restore_log.php' : $backup_log_name;
     
    983983    }
    984984   
    985     $filename = sanitize_text_field($_POST['filename']);
     985    $filename = sanitize_file_name($_POST['filename']);
    986986    $bcloud = backuply_load_remote_backup('bcloud');
    987987   
  • backuply/trunk/readme.txt

    r3036756 r3050547  
    55Tested up to: 6.4
    66Requires PHP: 5.5
    7 Stable tag: 1.2.7
     7Stable tag: 1.2.8
    88License: LGPL v2.1
    99License URI: http://www.gnu.org/licenses/lgpl-2.1.html
     
    8686== Changelog ==
    8787
     88= 1.2.8 (March 13 2024) =
     89* [Improvement] We have made improvements to make Backup Downloads better.
     90
    8891= 1.2.7 (February 16 2024) =
    8992* [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  
    18771877    $path = str_replace('\\\\', '/', $path);
    18781878    $path = str_replace('\\', '/', $path);
     1879    $path = str_replace('//', '/', $path);
    18791880    return rtrim($path, '/');
    18801881}
Note: See TracChangeset for help on using the changeset viewer.