Plugin Directory

Changeset 3005630


Ignore:
Timestamp:
12/05/2023 11:56:29 AM (2 years ago)
Author:
piotnetdotcom
Message:

Update 1.0.27

Location:
piotnetforms/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • piotnetforms/trunk/inc/forms/ajax-form-builder.php

    r2605757 r3005630  
    470470                       
    471471                        for ($i=0; $i < count($file['name']); $i++) {
    472                             $file_extension = pathinfo( $file['name'][$i], PATHINFO_EXTENSION );
     472                            $file_name_san = sanitize_file_name($file['name'][$i]);
     473                            $file_extension = pathinfo( $file_name_san, PATHINFO_EXTENSION );
    473474
    474475                            if(in_array(strtolower($file_extension), $not_allowed_extensions)){
     
    476477                            }
    477478
    478                             $filename_goc = str_replace( '.' . $file_extension, '', $file['name'][$i]);
     479                            $filename_goc = str_replace( '.' . $file_extension, '', $file_name_san);
    479480                            $filename = $filename_goc . '-' . uniqid() . '.' . $file_extension;
    480481                            $filename = wp_unique_filename( $upload_dir, $filename );
  • piotnetforms/trunk/piotnetforms.php

    r2814826 r3005630  
    44 * Description: Piotnet Forms - Highly Customizable WordPress Form Builder
    55 * Plugin URI:  https://piotnetforms.com/
    6  * Version:     1.0.26
     6 * Version:     1.0.27
    77 * Author:      Piotnet
    88 * Author URI:  https://piotnet.com/
     
    1515require_once __DIR__ . '/inc/variables.php';
    1616
    17 define( 'PIOTNETFORMS_VERSION', '1.0.26' );
     17define( 'PIOTNETFORMS_VERSION', '1.0.27' );
    1818
    1919class Piotnetforms extends Piotnetforms_Variables {
  • piotnetforms/trunk/readme.txt

    r2814826 r3005630  
    55Tested up to: 6.1
    66Requires PHP: 5.4
    7 Stable tag: 1.0.26
     7Stable tag: 1.0.27
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7777
    7878== Changelog ==
     79= 1.0.27 =
     80* Improvement security issue.
    7981= 1.0.26 =
    8082* Update WordPress tested up to: 6.1
Note: See TracChangeset for help on using the changeset viewer.