Changeset 2374159
- Timestamp:
- 09/02/2020 09:45:49 PM (6 years ago)
- Location:
- wp-customer-reviews/trunk
- Files:
-
- 3 edited
-
changelog.txt (modified) (3 diffs)
-
readme.txt (modified) (4 diffs)
-
wp-customer-reviews-3.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-customer-reviews/trunk/changelog.txt
r2373284 r2374159 1 = 3.5.4 = 2 * 09/02/2020 3 * [NOTICE] PLEASE UPGRADE TO THIS VERSION. 4 * [Bugfix] Workaround to prevent plugins / web servers from interfering with our security checks. 5 1 6 = 3.5.3 = 2 7 * 09/01/2020 3 * [NOTICE] PLEASE UPGRADE TO THIS VERSION.4 8 * [Bugfix] A tags in review content allow href/title/target/rel/style/class attributes. 5 9 * [Bugfix] IMG tags in review content allow src/alt/width/height/style/class attributes. … … 7 11 = 3.5.2 = 8 12 * 08/31/2020 9 * [NOTICE] PLEASE UPGRADE TO THIS VERSION.10 13 * [Bugfix] Allow img tags with safe attributes to appear in review content. 11 14 12 15 = 3.5.1 = 13 16 * 08/29/2020 14 * [NOTICE] PLEASE UPGRADE TO THIS VERSION.15 17 * [Bugfix] Fixed PHP errors being displayed on frontend review pages when custom fields are enabled in plugin settings. 16 18 … … 21 23 = 3.5.0 = 22 24 * 08/26/2020 23 * [NOTICE] PLEASE UPGRADE TO THIS VERSION.24 25 * [Security] There have been reported attempts to inject code into your website / admin area, which this version aims to prevent. This should also prevent some spam submission attempts. 25 26 -
wp-customer-reviews/trunk/readme.txt
r2373284 r2374159 5 5 Requires at least: 3.0.0 6 6 Tested up to: 5.5 7 Stable tag: 3.5. 37 Stable tag: 3.5.4 8 8 License: MIT 9 9 License URI: http://opensource.org/licenses/MIT … … 63 63 == Changelog == 64 64 65 = 3.5.4 = 66 * 09/02/2020 67 * [NOTICE] PLEASE UPGRADE TO THIS VERSION. 68 * [Bugfix] Workaround to prevent plugins / web servers from interfering with our security checks. 69 65 70 = 3.5.3 = 66 71 * 09/01/2020 67 * [NOTICE] PLEASE UPGRADE TO THIS VERSION.68 72 * [Bugfix] A tags in review content allow href/title/target/rel/style/class attributes. 69 73 * [Bugfix] IMG tags in review content allow src/alt/width/height/style/class attributes. … … 71 75 = 3.5.2 = 72 76 * 08/31/2020 73 * [NOTICE] PLEASE UPGRADE TO THIS VERSION.74 77 * [Bugfix] Allow img tags with safe attributes to appear in review content. 75 78 76 79 = 3.5.1 = 77 80 * 08/29/2020 78 * [NOTICE] PLEASE UPGRADE TO THIS VERSION.79 81 * [Bugfix] Fixed PHP errors being displayed on frontend review pages when custom fields are enabled in plugin settings. 80 82 … … 85 87 = 3.5.0 = 86 88 * 08/26/2020 87 * [NOTICE] PLEASE UPGRADE TO THIS VERSION.88 89 * [Security] There have been reported attempts to inject code into your website / admin area, which this version aims to prevent. This should also prevent some spam submission attempts. 89 90 -
wp-customer-reviews/trunk/wp-customer-reviews-3.php
r2373284 r2374159 4 4 * Plugin URI: http://www.gowebsolutions.com/wp-customer-reviews/ 5 5 * Description: Allows your visitors to leave business / product reviews. Testimonials are in Microdata / Microformat and may display star ratings in search results. 6 * Version: 3.5. 36 * Version: 3.5.4 7 7 * Author: Go Web Solutions 8 8 * Author URI: http://www.gowebsolutions.com/ … … 938 938 $posted = new stdClass(); 939 939 foreach ($this->p as $k => $v) { 940 $k = str_replace($this->prefix.'_', '', $k); 941 $posted->$k = $v; 942 } 943 944 $params = array( 945 'ajaxAct2', 'postid', 'checkid2', 946 'fconfirm1', 'fconfirm2', 'fconfirm3', 947 'url', 'website', 948 'femail', 'fname', 'frating', 'ftitle', 'fwebsite', 949 'pageOpts', 'page', 'on_postid' 950 ); 951 952 foreach($this->options['custom_fields'] as $name => $fieldArr) { 953 $params[] = $name; 954 } 955 956 $this->param($params, $posted); 957 958 // loop over expected params to check XSS 959 // because plugins/servers sometimes inject vars into $_GET and $_POST, and... 960 // $this->p, $this->posted then ends up with more than expected 961 foreach ($params as $k) { 962 $v = $posted->$k; 963 940 964 if ($this->isXssAttempt($v) === true) { 941 965 $rtn->err[] = 'You have failed the spambot check. Code 0'; … … 943 967 } 944 968 945 $k = str_replace($this->prefix.'_', '', $k);946 969 $posted->$k = trim(strip_tags($v)); 947 970 } 948 949 $params = array('checkid2', 'ajaxAct2', 'postid', 'on_postid', 'fname', 'femail', 'page', 'pageOpts');950 $this->param($params, $posted);951 971 952 972 $ajaxAct = $posted->ajaxAct2;
Note: See TracChangeset
for help on using the changeset viewer.