mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
needs ungreedy, to not include quotes
This commit is contained in:
parent
c8bee10afc
commit
ee51d2890c
@ -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