proxy.c: add some valid characters to linphone_proxy_config_is_phone_number (iOS specific though)

This commit is contained in:
Gautier Pelloux-Prayer 2015-06-24 16:35:40 +02:00
parent b97cba1a48
commit 9c961d9e86

View file

@ -891,9 +891,10 @@ bool_t linphone_proxy_config_is_phone_number(LinphoneProxyConfig *proxy, const c
*p=='(' ||
*p=='/' ||
*p=='+' ||
(unsigned char)*p== 0xca // non-breakable space (iOS uses it to format contacts phone number)
)
(unsigned char)*p==0xca || (unsigned char)*p==0xc2 || (unsigned char)*p==0xa0 // non-breakable space (iOS uses it to format contacts phone number)
) {
continue;
}
return FALSE;
}
return TRUE;