From b79b84c2cb7eb85f2121459b40bf4fc6e48d1978 Mon Sep 17 00:00:00 2001 From: tassium Date: Thu, 19 Jun 2003 15:43:10 +0000 Subject: [PATCH] Server defaults now include force_username_lowercase as appropriate. (Cyrus & Courier = false, Exchange & UW = true) The only one we don't have is macosx, but that's because I don't have one of those to test with. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5094 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 2 ++ config/conf.pl | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fbab1399..6dd9c8e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -39,6 +39,8 @@ Version 1.5.0 -- CVS dropped. - Rewrite of email address parser and solve the infinite loops issues due to bad formatted addresses. + - Modified conf.pl: default to force usernames lowercase for servers which + are case-insensitive ************************************** *** SquirrelMail Stable Series 1.4 *** diff --git a/config/conf.pl b/config/conf.pl index 99bb4c5a..ef557a6d 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -2925,6 +2925,7 @@ sub set_defaults { $show_contain_subfolders_option = false; $optional_delimiter = "."; $disp_default_folder_prefix = ""; + $force_username_lowercase = false; $continue = 1; } elsif ( $server eq "uw" ) { @@ -2939,6 +2940,7 @@ sub set_defaults { $optional_delimiter = "/"; $disp_default_folder_prefix = $default_folder_prefix; $delete_folder = true; + $force_username_lowercase = true; $continue = 1; } elsif ( $server eq "exchange" ) { @@ -2952,6 +2954,7 @@ sub set_defaults { $show_contain_subfolders_option = false; $optional_delimiter = "detect"; $disp_default_folder_prefix = ""; + $force_username_lowercase = true; $continue = 1; } elsif ( $server eq "courier" ) { @@ -2966,6 +2969,7 @@ sub set_defaults { $optional_delimiter = "."; $disp_default_folder_prefix = $default_folder_prefix; $delete_folder = true; + $force_username_lowercase = false; $continue = 1; } elsif ( $server eq "macosx" ) { @@ -3000,8 +3004,9 @@ sub set_defaults { print "show_contain_subfolders_option = $show_contain_subfolders_option\n"; print " optional_delimiter = $optional_delimiter\n"; print " delete_folder = $delete_folder\n"; + print " force_username_lowercase = $force_username_lowercase\n"; } - print "\nPress any key to continue..."; + print "\nPress enter to continue..."; $tmp = ; } -- 2.25.1