From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 05 Feb 2016 07:25:27 -0500 Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports --- program/lib/Roundcube/rcube_string_replacer.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/program/lib/Roundcube/rcube_string_replacer.php b/program/lib/Roundcube/rcube_string_replacer.php index c106da0..eb281ee 100644 --- a/program/lib/Roundcube/rcube_string_replacer.php +++ b/program/lib/Roundcube/rcube_string_replacer.php @@ -58,7 +58,8 @@ /** * Add a string to the internal list * - * @param string String value + * @param string String value + * * @return int Index of value for retrieval */ public function add($str) @@ -140,6 +141,7 @@ * Callback function used to build mailto: links around e-mail strings * * @param array Matches result from preg_replace_callback + * * @return int Index of saved string value */ public function mailto_callback($matches) -- Gitblit v1.9.1