Changeset 425427
- Timestamp:
- 08/18/2011 03:44:53 PM (14 years ago)
- Location:
- wordpress-amazon-associate/trunk
- Files:
-
- 4 edited
-
WPAA/ShortCodeHandler.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
servlet/preview.php (modified) (3 diffs)
-
wordpress_amazon_associate.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-amazon-associate/trunk/WPAA/ShortCodeHandler.php
r410533 r425427 202 202 $output = ""; 203 203 if( ! empty($options['container']) ) { 204 // strip inclusion of html entities 205 $options['container'] = strip_tags( $options['container'] ); 204 206 $output = "<" . $options['container']; 205 207 if( ! empty($options['container_class']) ) { 206 $output .= ' class="' . $options['container_class']. '"';208 $output .= ' class="' . htmlentities(strip_tags($options['container_class']), ENT_COMPAT) . '"'; 207 209 } 208 210 if( ! empty($options['container_style']) ) { 209 $output .= ' style="' . $options['container_style']. '"';211 $output .= ' style="' . htmlentities(strip_tags($options['container_style']), ENT_COMPAT) . '"'; 210 212 } 211 213 return $output . ">" . $output_str . "</" . $options['container'] . ">"; -
wordpress-amazon-associate/trunk/readme.txt
r421932 r425427 188 188 The full project changelogs can be found at [http://labs.mdbitz.com/wordpress/wordpress-amazon-associate-plugin/changelog](http://labs.mdbitz.com/wordpress/wordpress-amazon-associate-plugin/changelog/?utm_source=wordpress&utm_medium=plugin-readme&utm_campaign=plugin) 189 189 190 = 1.7.4 - 08/1 0/2011 =190 = 1.7.4 - 08/18/2011 = 191 191 * Removal of activate / deactivate hooks as per newly communicated [plugin guidelines](http://labs.mdbitz.com/2011/08/the-hidden-plugin-guidelines-all-wordpress-plugin-developers-should-know/) 192 * Restrition of Preview Servlet to logged in users with edit capability 193 * Tag and Entity Stripping of container, container_class and container_style attributes within preview serlvet to remove vulnerability to xss attacks 192 194 193 195 = 1.7.3 - 08/05/2011 = -
wordpress-amazon-associate/trunk/servlet/preview.php
r353979 r425427 22 22 // load WordPress 23 23 require_once( '../../../../wp-load.php'); 24 // User can Edit Content 25 if (current_user_can('edit_posts') ) { 24 26 ?> 25 27 <html> … … 28 30 <?php 29 31 $width = '600'; 30 if (!empty($_GET['width']) ) {32 if (!empty($_GET['width']) && is_numeric( $_GET['width']) ) { 31 33 $width = $_GET['width']; 32 34 } 33 35 $height = '600'; 34 if (!empty($_GET['height']) ) {36 if (!empty($_GET['height']) && is_numeric( $_GET['height'])) { 35 37 $height = $_GET['height']; 36 38 } … … 83 85 </body> 84 86 </html> 87 <?php } -
wordpress-amazon-associate/trunk/wordpress_amazon_associate.php
r421932 r425427 45 45 global $wpaa_update_date; 46 46 $wpaa_version = "1.7.4"; 47 $wpaa_update_date = "08-1 0-2011";47 $wpaa_update_date = "08-18-2011"; 48 48 49 49 // load Admin Class
Note: See TracChangeset
for help on using the changeset viewer.