AquaMail Forum

English - Android => Bug reports => Topic started by: MarkMessinger on October 03, 2018, 08:44:06 pm

Title: Unexpected identification of string as a phone number
Post by: MarkMessinger on October 03, 2018, 08:44:06 pm
AquaMail identified the text string "2018-2019" as a phone number. See attached screen shot.

When I first saw this, I thought it was a URL link. However, when I selected it, AquaMail offered to send the string to my phone's dialer.

As it happens, the string "2018-2019" did not contain an embedded link, to a web page. But are there 8-character phone numbers, somewhere, that AquaMail is attempting to identify in email messages? (https://uploads.tapatalk-cdn.com/20181003/e2980cce400e918973b14cc9bbbab80e.jpg)

Sent from my ONEPLUS A6003 using Tapatalk

Title: Re: Unexpected identification of string as a phone number
Post by: MarkMessinger on October 03, 2018, 08:47:43 pm
Oh, my AquaMail version is 1.16.1-1284

Sent from my ONEPLUS A6003 using Tapatalk

Title: Re: Unexpected identification of string as a phone number
Post by: Kostya Vasilyev on October 05, 2018, 11:27:58 pm
Re: 8 character phone numbers

Are you sure these can't exist (somewhere)? With "implied" country and area code, in some fairly small region?

Our code just looks for a sequence of digits and a allows a few well known "patterns" people use in phone numbers like dashes and "+N" or "(xxx) abc-def" that sort of thing. It can't really know what something is not a phone number.