[Fixed in 2.0.0]Percent-encoded tel:-links broken, '+' becomes '2' [answered]
I found out recently that percent-encoded tel:-links aren't working. Just wanted to leave reporting it until U10 to make sure. Hitta.se (people directory for .se) for example puts people's phone numbers in tel:-links (nice!), but the leading '+' is percent-encoeded, making it look like this (for +46 123456789):
tel:%2B46123456789
instead of this (which is not allowed, see below):
tel:+46123456789
The phone app seems to receive the entire string, just skip the '%' and 'B', and interpret it as "246123456789" and that won't work of course. This is pretty understandable since '+' is a reserved character in uri:s... Probably Hitta.se aren't alone to use country code prefixes, but i really haven't done a big survey, so please do add your own findings as comments.
I suggest that Jolla adds expanding %-encoding in the tel:-handling.
UPDATE: Still present in:
- 1.1.2.15
- 1.1.4.28
- 1.1.6.27
- 1.1.7.24
UPDATE: RFC 3966 says the following, which would imply that all properly formatted tel:-links containing a country code are broken:
If the reserved characters "+", ";", "=", and "?" are used as delimiters between components of the "tel" URI, they MUST NOT be percent encoded. These characters MUST be percent encoded if they appear in tel URI parameter values.
@Jolla: please acknowledge that you have seen this. I have no issues with it being low prio, just want to know that it'll get fixed when time allows. Am I somehow wrong, or why can't you just bring in this one line?
Hej, it is the same when trying to dial from Alien Dalvik. Just saying. LVPVS out.
LVPVS ( 2014-12-20 23:19:50 +0200 )editMakes sense :) Thanks for checking. The fix below acts on the phone app, so it should help that too.
attah ( 2014-12-20 23:31:12 +0200 )editHi, just wanted to share that I like the way how the bug report here is updated with each version number. Sometimes reading older reports you can't be sure if it's still there, but this is a way we could all adapt. What's your opinion @eric / @chemist ?
simo ( 2015-06-17 19:46:43 +0200 )edit