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 4d6f4972958c47d61e3f723fe5c0766823f11b73..54e0ea5db1c9d0e8893d4ddd0a5f723ef7d56ad0 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;
 }