Message153859
I think that the screen dump below is fairly clear:
10:41 Ivan> python
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import urlparse
>>> x = "tel:+31-641044153"
>>> urlparse.urlparse(x)
ParseResult(scheme='tel', netloc='', path='+31-641044153', params='', query='', fragment='')
>>> y = "tel:+31641044153"
>>> urlparse.urlparse(y)
ParseResult(scheme='', netloc='', path='tel:+31641044153', params='', query='', fragment='')
>>>
It seems that, when the phone number does not have any separator character, the parsing goes wrong (separators are not required per RFC 3966) |
|
Date |
User |
Action |
Args |
2012-02-21 09:45:24 | ivan_herman | set | recipients:
+ ivan_herman |
2012-02-21 09:45:24 | ivan_herman | set | messageid: <1329817524.78.0.223656665156.issue14072@psf.upfronthosting.co.za> |
2012-02-21 09:45:24 | ivan_herman | link | issue14072 messages |
2012-02-21 09:45:23 | ivan_herman | create | |
|