From 9c961d9e861dc3c687f21ac3806e4cbb60ffee08 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 24 Jun 2015 16:35:40 +0200 Subject: [PATCH] proxy.c: add some valid characters to linphone_proxy_config_is_phone_number (iOS specific though) --- coreapi/proxy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/coreapi/proxy.c b/coreapi/proxy.c index d0dc792f6..1620c67be 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -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;