Changeset 204 for branches/5.0

Show
Ignore:
Timestamp:
2009-01-17 09:24:13 (3 years ago)
Author:
hannes
Message:

merging changeset [203] (encoding problems) from trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/5.0/includes/input.php

    r183 r204  
    366366 
    367367$newsqlpassword = $_POST['newsqlpassword']; 
    368 if (preg_match('/^[a-zA-Z0-9\-_]*$/', $newsqlpassword) != 1) { 
     368if (check_legal($newsqlpassword) === FALSE) { 
    369369    die($LANG['error_input']); 
    370370} 
  • branches/5.0/install.php

    r181 r204  
    4343// input validation 
    4444require_once('includes/input.php'); 
     45 
     46// start output in order to set correct character encoding 
     47header('Content-Type: text/html; charset=' . $SETTINGS['encoding']); 
    4548 
    4649// default page