Changeset 204 for branches/5.0
- Timestamp:
- 2009-01-17 09:24:13 (3 years ago)
- Files:
-
- branches/5.0/includes/input.php (modified) (1 diff)
- branches/5.0/install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/5.0/includes/input.php
r183 r204 366 366 367 367 $newsqlpassword = $_POST['newsqlpassword']; 368 if ( preg_match('/^[a-zA-Z0-9\-_]*$/', $newsqlpassword) != 1) {368 if (check_legal($newsqlpassword) === FALSE) { 369 369 die($LANG['error_input']); 370 370 } branches/5.0/install.php
r181 r204 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
