diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-04-16 15:39:29 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-04-16 15:39:29 +0000 |
commit | 0a139376abd49b089cd6d9de1d064f6f3098a629 (patch) | |
tree | 5bf9dac1994709e89afc62a3c1d4013fe1eda0e0 | |
parent | 7479592c81e671d18dc70afbd0ed2514271fe164 (diff) | |
download | forums-0a139376abd49b089cd6d9de1d064f6f3098a629.tar forums-0a139376abd49b089cd6d9de1d064f6f3098a629.tar.gz forums-0a139376abd49b089cd6d9de1d064f6f3098a629.tar.bz2 forums-0a139376abd49b089cd6d9de1d064f6f3098a629.tar.xz forums-0a139376abd49b089cd6d9de1d064f6f3098a629.zip |
fix revision #r9430 - all hail the math!
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9449 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/functions_messenger.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index aad064d5e6..d2c738967c 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -1448,8 +1448,8 @@ function mail_encode($str) $end = "?="; $delimiter = "\r\n "; - // Maximum length is 75 for everything. 75 - length of start/end/delimiter == 63 - $split_length = 63; + // Maximum length is 75. $split_length *must* be a multiple of 4, but <= 75 - strlen($start . $delimiter . $end)!!! + $split_length = 60; $encoded_str = base64_encode($str); // If encoded string meets the limits, we just return with the correct data. |