Skip to content

Commit

Permalink
Merge pull request #388 from W3EDGE/fix-extension-xss
Browse files Browse the repository at this point in the history
Fix extension arg for JS
  • Loading branch information
cssjoe authored Jun 21, 2021
2 parents 2bdb3aa + 24b887a commit 6a487dd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Generic_Plugin_Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ function admin_head() {
'dimension9': '<?php echo esc_attr( $state->get_string( 'common.install_version' ) ) ?>',
'dimension10': '<?php echo esc_attr( Util_Environment::w3tc_edition( $this->_config ) ) ?>',
'dimension11': '<?php echo esc_attr( Util_Widget::list_widgets() ) ?>',
'page': '<?php echo wp_strip_all_tags( $page ); ?>'
'page': '<?php echo esc_attr( $page ); ?>'
});

w3tc_ga('send', 'pageview');
Expand Down
6 changes: 4 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: boldgrid, fredericktownes, maxicusc, gidomanders, bwmarkle, harryj
Tags: seo, cache, optimize, pagespeed, performance, caching, compression, maxcdn, nginx, varnish, redis, new relic, aws, amazon web services, s3, cloudfront, rackspace, cloudflare, azure, apache
Requires at least: 3.8
Tested up to: 5.7
Stable tag: 2.1.4
Stable tag: 2.1.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -275,8 +275,10 @@ Please reach out to all of these people and support their projects if you're so

== Changelog ==

= 2.1.4 =
= 2.1.5 =
* Fix: Sanitize extension argument

= 2.1.4 =
* Fix: Use Memcached server from config for Nginx rules instead of localhost
* Fix: Allow more characters in CDN hostname sanitization
* Fix: Added missing textdomains for Browser Cache settings
Expand Down
2 changes: 1 addition & 1 deletion w3-total-cache-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

define( 'W3TC', true );
define( 'W3TC_VERSION', '2.1.4' );
define( 'W3TC_VERSION', '2.1.5' );
define( 'W3TC_POWERED_BY', 'W3 Total Cache' );
define( 'W3TC_EMAIL', '[email protected]' );
define( 'W3TC_TEXT_DOMAIN', 'w3-total-cache' );
Expand Down
2 changes: 1 addition & 1 deletion w3-total-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: W3 Total Cache
* Plugin URI: https://www.boldgrid.com/totalcache/
* Description: The highest rated and most complete WordPress performance plugin. Dramatically improve the speed and user experience of your site. Add browser, page, object and database caching as well as minify and content delivery network (CDN) to WordPress.
* Version: 2.1.4
* Version: 2.1.5
* Requires at least: 3.8
* Requires PHP: 5.6
* Author: BoldGrid
Expand Down

0 comments on commit 6a487dd

Please sign in to comment.