Changeset 1121 for trunk/smf/Sources/Subs-Auth.php
- Timestamp:
- 03/29/10 15:37:29 (2 years ago)
- File:
-
- 1 edited
-
trunk/smf/Sources/Subs-Auth.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/smf/Sources/Subs-Auth.php
r1048 r1121 6 6 * Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) * 7 7 * =============================================================================== * 8 * Software Version: SMF 1.1.1 0*8 * Software Version: SMF 1.1.11 * 9 9 * Software by: Simple Machines (http://www.simplemachines.org) * 10 10 * Copyright 2006-2009 by: Simple Machines LLC (http://www.simplemachines.org) * … … 278 278 // Only if it's not already in the $scripturl! 279 279 if (!isset($temp[$k])) 280 $context['get_data'] .= $k . '=' . $v. ';';280 $context['get_data'] .= urlencode($k) . '=' . urlencode($v) . ';'; 281 281 // If it changed, put it out there, but with an ampersand. 282 282 elseif ($temp[$k] != $_GET[$k]) 283 $context['get_data'] .= $k . '=' . $v. '&';283 $context['get_data'] .= urlencode($k) . '=' . urlencode($v) . '&'; 284 284 } 285 285 } … … 288 288 // Add up all the data from $_GET into get_data. 289 289 foreach ($_GET as $k => $v) 290 $context['get_data'] .= $k . '=' . $v. ';';290 $context['get_data'] .= urlencode($k) . '=' . urlencode($v) . ';'; 291 291 } 292 292 … … 326 326 if (!is_array($v)) 327 327 return ' 328 <input type="hidden" name="' . $k. '" value="' . strtr(stripslashes($v), array('"' => '"', '<' => '<', '>' => '>')) . '" />';328 <input type="hidden" name="' . htmlspecialchars($k) . '" value="' . strtr(stripslashes($v), array('"' => '"', '<' => '<', '>' => '>')) . '" />'; 329 329 else 330 330 {
Note: See TracChangeset
for help on using the changeset viewer.
![[infoarena] development](/chrome/site/logo.png)