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/Profile.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) * 
     
    562562                if (strlen(trim($_POST['websiteUrl'])) > 0 && strpos($_POST['websiteUrl'], '://') === false) 
    563563                        $_POST['websiteUrl'] = 'http://' . $_POST['websiteUrl']; 
    564                 if (strlen($_POST['websiteUrl']) < 8) 
     564                if (strlen($_POST['websiteUrl']) < 8 || (substr($_POST['websiteUrl'], 0, 7) !== 'http://' && substr($_POST['websiteUrl'], 0, 8) !== 'https://')) 
    565565                        $_POST['websiteUrl'] = ''; 
    566566        } 
     
    24912491        { 
    24922492                $context['smiley_sets'][$i] = array( 
    2493                         'id' => $set, 
    2494                         'name' => $set_names[$i], 
     2493                        'id' => htmlspecialchars($set), 
     2494                        'name' => htmlspecialchars($set_names[$i]), 
    24952495                        'selected' => $set == $context['member']['smiley_set']['id'] 
    24962496                ); 
    24972497 
    24982498                if ($context['smiley_sets'][$i]['selected']) 
    2499                         $context['member']['smiley_set']['name'] = $set_names[$i]; 
     2499                        $context['member']['smiley_set']['name'] = htmlspecialchars($set_names[$i]); 
    25002500        } 
    25012501 
Note: See TracChangeset for help on using the changeset viewer.