Changeset b48d9bf in github
- Timestamp:
- Sep 7, 2009 8:51:21 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 11ea2ac
- Parents:
- 3d601d2
- Files:
-
- 6 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcmail.php (modified) (1 diff)
-
program/include/session.inc (modified) (1 diff)
-
program/steps/mail/compose.inc (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (1 diff)
-
program/steps/mail/sendmail.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r4a63f1ef rb48d9bf 2 2 =========================== 3 3 4 - Use faster/secure mt_rand() (#1486094) 4 5 - Fix roundcube hangs on empty inbox with bincimapd (#1486093) 5 6 - Fix wrong headers for IE on servers without $_SERVER['HTTPS'] (#1485926) -
program/include/rcmail.php
ree258ce rb48d9bf 880 880 881 881 if (!$_SESSION['request_tokens'][$key]) 882 $_SESSION['request_tokens'][$key] = md5(uniqid($key . rand(), true));882 $_SESSION['request_tokens'][$key] = md5(uniqid($key . mt_rand(), true)); 883 883 884 884 return $_SESSION['request_tokens'][$key]; -
program/include/session.inc
rdadefb8 rb48d9bf 246 246 247 247 for ($random = "", $i=1; $i <= 32; $i++) { 248 $random .= substr($randval, rand(0,(strlen($randval) - 1)), 1);248 $random .= substr($randval, mt_rand(0,(strlen($randval) - 1)), 1); 249 249 } 250 250 -
program/steps/mail/compose.inc
r7df0e35 rb48d9bf 38 38 rcmail_compose_cleanup(); 39 39 $_SESSION['compose'] = array( 40 'id' => uniqid( rand()),40 'id' => uniqid(mt_rand()), 41 41 'param' => request2param(RCUBE_INPUT_GET), 42 42 'mailbox' => $IMAP->get_mailbox_name(), -
program/steps/mail/func.inc
r4f7aa85f rb48d9bf 1426 1426 'To' => $message->headers->mdn_to, 1427 1427 'Subject' => rcube_label('receiptread') . ': ' . $message->subject, 1428 'Message-ID' => sprintf('<%s@%s>', md5(uniqid('rcmail'. rand(),true)), $RCMAIL->config->mail_domain($_SESSION['imap_host'])),1428 'Message-ID' => sprintf('<%s@%s>', md5(uniqid('rcmail'.mt_rand(),true)), $RCMAIL->config->mail_domain($_SESSION['imap_host'])), 1429 1429 'X-Sender' => $identity['email'], 1430 1430 'Content-Type' => 'multipart/report; report-type=disposition-notification', -
program/steps/mail/sendmail.inc
r2818f8e rb48d9bf 195 195 $olddraftmessageid = get_input_value('_draft_saveid', RCUBE_INPUT_POST); 196 196 197 $message_id = sprintf('<%s@%s>', md5(uniqid('rcmail'. rand(),true)), $RCMAIL->config->mail_domain($_SESSION['imap_host']));197 $message_id = sprintf('<%s@%s>', md5(uniqid('rcmail'.mt_rand(),true)), $RCMAIL->config->mail_domain($_SESSION['imap_host'])); 198 198 199 199 // set default charset
Note: See TracChangeset
for help on using the changeset viewer.
