mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
proxy.c: add some valid characters to linphone_proxy_config_is_phone_number (iOS specific though)
This commit is contained in:
parent
b97cba1a48
commit
9c961d9e86
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue