Changeset 203
- Timestamp:
- 2009-01-17 09:23:11 (3 years ago)
- Files:
-
- trunk/includes/input.php (modified) (1 diff)
- trunk/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/includes/input.php
r200 r203 384 384 385 385 $INPUT['newsqlpassword'] = $_POST['newsqlpassword']; 386 if ( preg_match('/^[a-zA-Z0-9\-_]*$/', $INPUT['newsqlpassword']) != 1) {386 if (check_legal($INPUT['newsqlpassword']) === FALSE) { 387 387 die($LANG['error_input']); 388 388 } trunk/install.php
r192 r203 43 43 // input validation 44 44 require_once('includes/input.php'); 45 46 // start output in order to set correct character encoding 47 header('Content-Type: text/html; charset=' . $SETTINGS['encoding']); 45 48 46 49 // default page
