MDL-86461 tool_messageinbound: Upgrade Roundcube to version 1.6.11

This commit is contained in:
Andi Permana
2025-10-17 09:58:08 +07:00
parent d33ecac29c
commit 8679ffa163
2 changed files with 19 additions and 3 deletions
@@ -285,6 +285,22 @@ class rcube_utils
return is_string($value) ? $value : '';
}
/**
* Check if input value is a "simple" string.
* "Simple" is defined as a non-empty string containing only
* - "word" characters (alphanumeric plus underscore),
* - dots,
* - dashes.
*
* @param string $input The string to test
*
* @return bool
*/
public static function is_simple_string($input)
{
return is_string($input) && !!preg_match('/^[\w.-]+$/i', $input);
}
/**
* Read request parameter value and convert it for internal use
* Performs stripslashes() and charset conversion if necessary
@@ -1729,10 +1745,10 @@ class rcube_utils
/**
* Clean the subject from reply and forward prefix
*
*
* @param string $subject Subject to clean
* @param string $mode Mode of cleaning : reply, forward or both
*
*
* @return string Cleaned subject
*/
public static function remove_subject_prefix($subject, $mode = 'both')
@@ -5,7 +5,7 @@
<name>Roundcube Framework</name>
<license>GPL</license>
<licenseversion>3.0+</licenseversion>
<version>1.6.10</version>
<version>1.6.11</version>
<repository>https://github.com/roundcube/roundcubemail</repository>
<copyrights>
<copyright>The Roundcube Dev Team</copyright>