Changeset 451246
- Timestamp:
- 10/14/2011 10:57:56 PM (14 years ago)
- Location:
- forumconverter
- Files:
-
- 18 added
- 3 edited
-
tags/1.13 (added)
-
tags/1.13/Forum.php (added)
-
tags/1.13/ForumConverter.php (added)
-
tags/1.13/PhpbbAuth.php (added)
-
tags/1.13/PhpbbToBbpress.php (added)
-
tags/1.13/PhpbbToBpforums.php (added)
-
tags/1.13/fc-auth.php (added)
-
tags/1.13/fc-forum-password.php (added)
-
tags/1.13/fc-main.php (added)
-
tags/1.13/fc-options.php (added)
-
tags/1.13/fc-sig-main.php (added)
-
tags/1.13/fc-sig-req.php (added)
-
tags/1.13/fc-sig-update.php (added)
-
tags/1.13/license.txt (added)
-
tags/1.13/readme.txt (added)
-
tags/1.13/screenshot-1.png (added)
-
tags/1.13/wp-db-ex.php (added)
-
tags/1.13/wp-pass-ex.php (added)
-
trunk/fc-sig-main.php (modified) (3 diffs)
-
trunk/fc-sig-update.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
forumconverter/trunk/fc-sig-main.php
r445944 r451246 87 87 else if (strstr($curl, 'user-edit.php')) 88 88 { 89 $id = addslashes($_ GET['user_id']);89 $id = addslashes($_REQUEST['user_id']); 90 90 } 91 91 $sig = $wpdb->get_var('SELECT meta_value FROM '.$wpdb->prefix.'usermeta WHERE user_id='.$id.' AND meta_key="bbp_signature"'); 92 $c = explode('/',plugin_basename(__FILE__));93 $plugin_folder = $c[0];94 $update_url = plugins_url().'/'.$plugin_folder.'/fc-sig-update.php';95 92 $sig = str_replace(array("\r\n", "\n"), '\n', $sig); 96 $sig = wp_kses($sig );93 $sig = wp_kses($sig, array('a' => array('href'=>array()), 'font' => array('color'=>array(), 'size'=>array(), 'face'=>array()), 'br' => array(), 'img'=>array('src'=>array(),'alt'=>array(),'class'=>array(),'style'=>array()))); 97 94 98 95 echo <<<SIGUI2 … … 107 104 ' </tbody>' + 108 105 '</table>' + 106 '<input type="hidden" name="bbp_sig_target" value="{$id}" />' + 109 107 ''; 110 108 jQuery(".submit").before(out); … … 159 157 160 158 $user = wp_get_current_user(); 161 $id = $user->ID; 159 if (isset($_REQUEST['bbp_sig_target'])) 160 $id = addslashes($_REQUEST['bbp_sig_target']); 161 else 162 $id = $user->ID; 162 163 $sig = addslashes($_POST['sig']); 163 164 -
forumconverter/trunk/fc-sig-update.php
r445944 r451246 15 15 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 16 16 */ 17 18 //this is for the ajax update from buddypress 17 19 18 20 require('../../../wp-load.php'); -
forumconverter/trunk/readme.txt
r445951 r451246 5 5 Requires at least: 3.2.1 6 6 Tested up to: 3.2.1 7 Stable tag: 1.1 27 Stable tag: 1.13 8 8 9 9 Migrates a phpBB forum into a bbPress forum. … … 131 131 132 132 == Upgrade Notice == 133 = 1.13 = 134 None 135 133 136 = 1.12 = 134 137 XSS Security vulnerability. Please upgrade immediately if your using the signature plugin. Versions 1.08-1.11 affected. … … 171 174 172 175 == Changelog == 176 = 1.13 = 177 * Bug Fix: Make signatures editing on WordPress backend only make changes to the viewed profile. 178 173 179 = 1.12 = 174 180 * Security Fix: Sanitize signatures.
Note: See TracChangeset
for help on using the changeset viewer.