Ignore:
Timestamp:
03/29/10 15:37:29 (2 years ago)
Author:
bogdan2412
Message:

Updated with changes from live.

  • Updated SMF to 1.1.11
  • Added Summify to site and forum
  • Small change to job detail view
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/smf/Sources/Subs-Auth.php

    r1048 r1121  
    66* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com)                    * 
    77* =============================================================================== * 
    8 * Software Version:           SMF 1.1.10                                          * 
     8* Software Version:           SMF 1.1.11                                          * 
    99* Software by:                Simple Machines (http://www.simplemachines.org)     * 
    1010* Copyright 2006-2009 by:     Simple Machines LLC (http://www.simplemachines.org) * 
     
    278278                        // Only if it's not already in the $scripturl! 
    279279                        if (!isset($temp[$k])) 
    280                                 $context['get_data'] .= $k . '=' . $v . ';'; 
     280                                $context['get_data'] .= urlencode($k) . '=' . urlencode($v) . ';'; 
    281281                        // If it changed, put it out there, but with an ampersand. 
    282282                        elseif ($temp[$k] != $_GET[$k]) 
    283                                 $context['get_data'] .= $k . '=' . $v . '&'; 
     283                                $context['get_data'] .= urlencode($k) . '=' . urlencode($v) . '&'; 
    284284                } 
    285285        } 
     
    288288                // Add up all the data from $_GET into get_data. 
    289289                foreach ($_GET as $k => $v) 
    290                         $context['get_data'] .= $k . '=' . $v . ';'; 
     290                        $context['get_data'] .= urlencode($k) . '=' . urlencode($v) . ';'; 
    291291        } 
    292292 
     
    326326        if (!is_array($v)) 
    327327                return ' 
    328 <input type="hidden" name="' . $k . '" value="' . strtr(stripslashes($v), array('"' => '&quot;', '<' => '&lt;', '>' => '&gt;')) . '" />'; 
     328<input type="hidden" name="' . htmlspecialchars($k) . '" value="' . strtr(stripslashes($v), array('"' => '&quot;', '<' => '&lt;', '>' => '&gt;')) . '" />'; 
    329329        else 
    330330        { 
Note: See TracChangeset for help on using the changeset viewer.