Plugin Directory

Changeset 3152421


Ignore:
Timestamp:
09/16/2024 07:36:22 AM (15 months ago)
Author:
zoho
Message:

Changed url sanitization method esc_url() to esc_url_raw() since & is encoded in url param

Location:
zoho-forms
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • zoho-forms/tags/4.0.1/zohoForms.php

    r3141617 r3152421  
    5353    }
    5454    $iframeJsCode = 'var f = document.createElement("iframe");
    55              f.src = "'.esc_url($src).'";
     55             f.src = "'.esc_url_raw($src).'";
    5656             f.style.border="none";
    5757             f.style.height="'.esc_attr($height).'";
     
    8787    $src.='?'.$urlParams;
    8888  }
    89   return '<iframe height="'.esc_attr($height).'" width="'.esc_attr($width).'" frameborder="0" allowTransparency="true" scrolling="auto" src="'.esc_url($src).'"> </iframe>'; 
     89  return '<iframe height="'.esc_attr($height).'" width="'.esc_attr($width).'" frameborder="0" allowTransparency="true" scrolling="auto" src="'.esc_url_raw($src).'"> </iframe>'; 
    9090
    9191
  • zoho-forms/tags/4.0.2/readme.txt

    r3141571 r3152421  
    109109== Changelog ==
    110110
     111= 4.0.2 =
     112
     113* Bug fixes.
     114
    111115= 4.0.1 =
    112116
     
    155159== Upgrade Notice ==
    156160
    157 = 4.0.1 =
     161= 4.0.2 =
    158162
    159 * Bug fixes and security updates.
     163* Bug fixes.
  • zoho-forms/tags/4.0.2/zohoForms.php

    r3141617 r3152421  
    55Plugin URI: http://wordpress.org/extend/plugins/zohoforms
    66Description: Embed forms just about anywhere on your WordPress website. Concentrate on just your content and let us take care of the coding for you.
    7 Version: 4.0.1
     7Version: 4.0.2
    88Author: Zoho Forms
    99Author URI: https://forms.zoho.com
     
    5353    }
    5454    $iframeJsCode = 'var f = document.createElement("iframe");
    55              f.src = "'.esc_url($src).'";
     55             f.src = "'.esc_url_raw($src).'";
    5656             f.style.border="none";
    5757             f.style.height="'.esc_attr($height).'";
     
    8787    $src.='?'.$urlParams;
    8888  }
    89   return '<iframe height="'.esc_attr($height).'" width="'.esc_attr($width).'" frameborder="0" allowTransparency="true" scrolling="auto" src="'.esc_url($src).'"> </iframe>'; 
     89  return '<iframe height="'.esc_attr($height).'" width="'.esc_attr($width).'" frameborder="0" allowTransparency="true" scrolling="auto" src="'.esc_url_raw($src).'"> </iframe>'; 
    9090
    9191
  • zoho-forms/trunk/readme.txt

    r3141571 r3152421  
    66Requires at least: 2.8
    77Tested up to: 4.9.6
    8 Stable tag: 4.0.1
     8Stable tag: 4.0.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.