From: kink Date: Sun, 7 Jan 2007 12:55:41 +0000 (+0000) Subject: strip all whitespace from $domain, an accidental space breaks quite some X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=da9e7627ab37674cd6bfc4c47ef8782e1eb71bfb;p=squirrelmail.git strip all whitespace from $domain, an accidental space breaks quite some things (#1533795) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12087 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/config/conf.pl b/config/conf.pl index 4d6f4972..54e0ea5d 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -1131,7 +1131,7 @@ sub command11 { if ( $new_domain eq "\n" ) { $new_domain = $domain; } else { - $new_domain =~ s/[\r\n]//g; + $new_domain =~ s/\s//g; } return $new_domain; }