Plugin Directory

Changeset 2445228


Ignore:
Timestamp:
12/23/2020 07:41:03 PM (5 years ago)
Author:
jamesros161
Message:

Patch Release

Location:
weforms
Files:
10 deleted
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • weforms/tags/1.6.4/includes/functions.php

    r2403226 r2445228  
    12051205    if ( is_array( $value ) ) {
    12061206        $string_value = [];
    1207 
    1208         if ( is_array( $value ) ) {
    1209             foreach ( $value as $key => $single_value ) {
    1210                 if ( is_array( $single_value ) || is_serialized( $single_value ) ) {
    1211                     $single_value = weforms_get_pain_text( $single_value );
    1212                 }
    1213 
    1214                 $single_value = ucwords( str_replace( [ '_', '-' ], ' ', $key ) ) . ': ' . ucwords( $single_value );
    1215 
    1216                 $string_value[] = $single_value;
     1207        foreach ( $value as $key => $single_value ) {
     1208            if ( is_array( $single_value ) || is_serialized( $single_value ) ) {
     1209                $single_value = weforms_get_pain_text( $single_value );
    12171210            }
    12181211
    1219             $value = implode( WeForms::$field_separator, $string_value );
     1212            $single_value = ucwords( str_replace( [ '_', '-' ], ' ', $key ) ) . ': ' . ucwords( $single_value );
     1213
     1214            $string_value[] = $single_value;
    12201215        }
     1216
     1217        $value = implode( WeForms::$field_separator, $string_value );
    12211218    }
    12221219
    12231220    $value = trim( strip_tags( $value ) );
     1221
     1222    // escape spreadsheet special characters to prevent formula exploits.
     1223    $value = preg_match( '/^[=+@-]/', $value ) ? '\'' . $value : $value;
    12241224
    12251225    return $value;
  • weforms/tags/1.6.4/readme.txt

    r2416759 r2445228  
    11=== weForms - Easy Drag & Drop Contact Form Builder For WordPress ===
    2 Contributors: tareq1988, nizamuddinbabu, boldgrid, joemoto
     2Contributors: tareq1988, nizamuddinbabu, boldgrid, joemoto, jamesros161
    33Tags: forms, contact form, contact form plugin, custom form, form builder, form, form creator, form manager, form creation, contact forms, custom forms, forms builder, forms creator, forms manager, forms creation
    44Requires at least: 4.4
    55Requires PHP: 5.6.20
    6 Tested up to: 5.5
    7 Stable tag: 1.6.3
     6Tested up to: 5.6
     7Stable tag: 1.6.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    250250== Changelog ==
    251251
     252= Version 1.6.4 (23 December, 2020) =
     253* **Fix:** Added spreadsheet functione escaping to prevent CSV exploits. [#50] (https://github.com/BoldGrid/weforms/pull/50)
     254* **Update:** Update Node Packages
     255
    252256= Version 1.6.3 (11 November, 2020) =
    253257* **Update:** Sprout Invoices Integration
  • weforms/tags/1.6.4/weforms.php

    r2416759 r2445228  
    66 * Author: weForms
    77 * Author URI: https://weformspro.com/
    8  * Version: 1.6.3
     8 * Version: 1.6.4
    99 * License: GPL2 or later
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5656     * @var string
    5757     */
    58     public $version = '1.6.3';
     58    public $version = '1.6.4';
    5959
    6060    /**
  • weforms/trunk/includes/functions.php

    r2403226 r2445228  
    12051205    if ( is_array( $value ) ) {
    12061206        $string_value = [];
    1207 
    1208         if ( is_array( $value ) ) {
    1209             foreach ( $value as $key => $single_value ) {
    1210                 if ( is_array( $single_value ) || is_serialized( $single_value ) ) {
    1211                     $single_value = weforms_get_pain_text( $single_value );
    1212                 }
    1213 
    1214                 $single_value = ucwords( str_replace( [ '_', '-' ], ' ', $key ) ) . ': ' . ucwords( $single_value );
    1215 
    1216                 $string_value[] = $single_value;
     1207        foreach ( $value as $key => $single_value ) {
     1208            if ( is_array( $single_value ) || is_serialized( $single_value ) ) {
     1209                $single_value = weforms_get_pain_text( $single_value );
    12171210            }
    12181211
    1219             $value = implode( WeForms::$field_separator, $string_value );
     1212            $single_value = ucwords( str_replace( [ '_', '-' ], ' ', $key ) ) . ': ' . ucwords( $single_value );
     1213
     1214            $string_value[] = $single_value;
    12201215        }
     1216
     1217        $value = implode( WeForms::$field_separator, $string_value );
    12211218    }
    12221219
    12231220    $value = trim( strip_tags( $value ) );
     1221
     1222    // escape spreadsheet special characters to prevent formula exploits.
     1223    $value = preg_match( '/^[=+@-]/', $value ) ? '\'' . $value : $value;
    12241224
    12251225    return $value;
  • weforms/trunk/readme.txt

    r2416759 r2445228  
    11=== weForms - Easy Drag & Drop Contact Form Builder For WordPress ===
    2 Contributors: tareq1988, nizamuddinbabu, boldgrid, joemoto
     2Contributors: tareq1988, nizamuddinbabu, boldgrid, joemoto, jamesros161
    33Tags: forms, contact form, contact form plugin, custom form, form builder, form, form creator, form manager, form creation, contact forms, custom forms, forms builder, forms creator, forms manager, forms creation
    44Requires at least: 4.4
    55Requires PHP: 5.6.20
    6 Tested up to: 5.5
    7 Stable tag: 1.6.3
     6Tested up to: 5.6
     7Stable tag: 1.6.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    250250== Changelog ==
    251251
     252= Version 1.6.4 (23 December, 2020) =
     253* **Fix:** Added spreadsheet functione escaping to prevent CSV exploits. [#50] (https://github.com/BoldGrid/weforms/pull/50)
     254* **Update:** Update Node Packages
     255
    252256= Version 1.6.3 (11 November, 2020) =
    253257* **Update:** Sprout Invoices Integration
  • weforms/trunk/weforms.php

    r2416759 r2445228  
    66 * Author: weForms
    77 * Author URI: https://weformspro.com/
    8  * Version: 1.6.3
     8 * Version: 1.6.4
    99 * License: GPL2 or later
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5656     * @var string
    5757     */
    58     public $version = '1.6.3';
     58    public $version = '1.6.4';
    5959
    6060    /**
Note: See TracChangeset for help on using the changeset viewer.