Mercurial > defr > drupal > core
diff install.php @ 11:589fb7c02327 6.5
Drupal 6.5
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:32:19 +0100 |
parents | acef7ccb09b5 |
children | 8b6c45761e01 |
line wrap: on
line diff
--- a/install.php Tue Dec 23 14:32:08 2008 +0100 +++ b/install.php Tue Dec 23 14:32:19 2008 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: install.php,v 1.113.2.5 2008/07/18 07:17:44 dries Exp $ +// $Id: install.php,v 1.113.2.6 2008/09/17 08:47:04 goba Exp $ require_once './includes/install.inc'; @@ -90,7 +90,7 @@ // Locale selection if (!empty($_GET['locale'])) { - $install_locale = preg_replace('/[^a-zA-Z_0-9]/', '', $_GET['locale']); + $install_locale = preg_replace('/[^a-zA-Z_0-9\-]/', '', $_GET['locale']); } elseif (($install_locale = install_select_locale($profile)) !== FALSE) { install_goto("install.php?profile=$profile&locale=$install_locale");