From: fabrixxm Date: Tue, 20 Jan 2015 18:21:49 +0000 (+0100) Subject: fix random mime boundary generation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=254968a99c7b15aec819c91a5843703b068f9805;p=friendica.git fix random mime boundary generation second and third random numbers in mime boundary was alwasy 10000000000 --- diff --git a/include/Emailer.php b/include/Emailer.php index e11954200c..a3f85433de 100644 --- a/include/Emailer.php +++ b/include/Emailer.php @@ -30,8 +30,8 @@ class Emailer { // generate a mime boundary $mimeBoundary =rand(0,9)."-" - .rand(10000000000,9999999999)."-" - .rand(10000000000,9999999999)."=:" + .rand(10000000000,99999999999)."-" + .rand(10000000000,99999999999)."=:" .rand(10000,99999); // generate a multipart/alternative message header