Author ivan_herman
Recipients ivan_herman
Date 2012-02-21.09:45:23
SpamBayes Score 3.17326e-08
Marked as misclassified No
Message-id <1329817524.78.0.223656665156.issue14072@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2012-02-21 09:45:24ivan_hermansetrecipients: + ivan_herman
2012-02-21 09:45:24ivan_hermansetmessageid: <1329817524.78.0.223656665156.issue14072@psf.upfronthosting.co.za>
2012-02-21 09:45:24ivan_hermanlinkissue14072 messages
2012-02-21 09:45:23ivan_hermancreate