diff -r 293148ad7a70 -r 6457a9b983c6 install.php --- a/install.php Sun Aug 19 16:22:04 2007 -0400 +++ b/install.php Sat Aug 25 12:11:31 2007 -0400 @@ -216,8 +216,8 @@ is enabled, an attacker can run arbitrary code on your server! Enabling this will also allow administrators to embed Javascript and arbitrary HTML and CSS.
If you don\'t have experience coding in PHP, you can safely disable this option. You may change this at any time - using the ACL editor by selecting the Administrators group and This Entire Website under the scope selection, or by - using the "embedded PHP kill switch" in the administration panel.
'; + using the ACL editor by selecting the Administrators group and This Entire Website under the scope selection. '; break; default: $title = 'Invalid topic'; @@ -759,7 +759,7 @@ { var frm = document.forms.login; ret = true; - if(frm.admin_user.value.match(/^([A-z0-9 \-\.]+)$/g)) + if ( frm.admin_user.value.match(/^([A-z0-9 \-\.]+)$/g) && !frm.admin_user.value.match(/^(?:(?:\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.){3}(?:\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/) && frm.admin_user.value.toLowerCase() != 'anonymous' ) { document.getElementById('s_user').src = 'images/good.gif'; } @@ -806,7 +806,7 @@ ?>Next, enter your desired username and password. The account you create here will be used to administer your site.
Administration username The administration username you will use to log into your site. | ||
Administration username The administration username you will use to log into your site. This cannot be "anonymous" or in the form of an IP address. | ||
Administration password: | ||
Enter it again to confirm: | ||
Your e-mail address: |