Using the automated installer for Drupal (PHP5) with CiviCRM 1.8.11248
The installer form:
or more specifically the template that is included:
This is really annoying for anyone who has a database name that includes other characters. For example, the host I was working on for a client automatically prefixes all database names with the account name followed by a '-' (hyphen), so I was unable to enter the correct database name into the installer form.
web91-civicrm turns into web91civicrim, and then I get an error that the database can not be accessed.
lines 69 and 77 of template.html have the following script which should be removed:
onchange="this.value = this.value.replace(/[^A-Za-z0-9_]+/g,'');"