Skip to content

Commit

Permalink
Trim off any trailing delimiters.
Browse files Browse the repository at this point in the history
Part of the fix for Bug #14063
  • Loading branch information
mrubinsk committed Jul 28, 2015
1 parent a97f144 commit ae90492
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/Form/lib/Horde/Form/Type.php
Expand Up @@ -1544,6 +1544,9 @@ function isValid(&$var, &$vars, $value, &$message)
*/
function splitEmailAddresses($string)
{
// Trim off any trailing delimiters
$string = trim($string, $this->_delimiters . ' ');

$quotes = array('"', "'");
$emails = array();
$pos = 0;
Expand Down

0 comments on commit ae90492

Please sign in to comment.