mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-07 05:50:13 +01:00
needs ungreedy, to not include quotes
This commit is contained in:
parent
acfcebce4a
commit
5bb1d3c888
@ -69,7 +69,7 @@ class Avatar
|
||||
{
|
||||
return [];
|
||||
}
|
||||
if (preg_match("/^\"?'?(.*)'?\"?\s+<([^<>'\"]+)>$/", $address, $matches))
|
||||
if (preg_match("/^\"?'?(.*?)'?\"?\s+<([^<>'\"]+)>$/", $address, $matches))
|
||||
{
|
||||
if (($parts = preg_split('/[, ]+/', $matches[1])))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user