strip all whitespace from $domain, an accidental space breaks quite some
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 7 Jan 2007 12:55:41 +0000 (12:55 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 7 Jan 2007 12:55:41 +0000 (12:55 +0000)
things (#1533795)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12087 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/conf.pl

index 4d6f497..54e0ea5 100755 (executable)
@@ -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;
 }