Author mykmelez
Recipients mykmelez
Date 2009-08-04.00:42:32
SpamBayes Score 0.0812629
Marked as misclassified No
Message-id <1249346554.96.0.279967945769.issue6640@psf.upfronthosting.co.za>
In-reply-to
Content
RFC 2368 <http://www.ietf.org/rfc/rfc2368.txt> specifies mailto: URLs as
having the following syntax:

     mailtoURL  =  "mailto:" [ to ] [ headers ]
     to         =  #mailbox
     headers    =  "?" header *( "&" header )
     header     =  hname "=" hvalue
     hname      =  *urlc
     hvalue     =  *urlc

The header fields in these URLs are roughly analogous to query
parameters in other URLs, but urlparse treats them as part of the path
(along with the email address):

>>> import urlparse
>>> urlparse.urlparse("mailto:foo@example.com?subject=hi")
ParseResult(scheme='mailto', netloc='',
path='foo@example.com?subject=hi', params='', query='', fragment='')

It should treat them as query parameters instead, which would not only
make it easier to access them but would also make it easier to access
the email address, since one would no longer have to parse headers, if
any, out of the path first.
History
Date User Action Args
2009-08-04 00:42:35mykmelezsetrecipients: + mykmelez
2009-08-04 00:42:34mykmelezsetmessageid: <1249346554.96.0.279967945769.issue6640@psf.upfronthosting.co.za>
2009-08-04 00:42:33mykmelezlinkissue6640 messages
2009-08-04 00:42:32mykmelezcreate