url: Added support for parsing login options from the URL
authorSteve Holme <steve_holme@hotmail.com>
Sat, 13 Apr 2013 09:49:42 +0000 (10:49 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 13 Apr 2013 09:49:42 +0000 (10:49 +0100)
commit73aa95592f47d461f0246eef1187f5d569aa6afa
treedcf5efb83c021e87a2b4fb2b45259ef0100f0947
parentad3fdbc0a46e8cdb0ce19df17a278309c2cfb2cf
url: Added support for parsing login options from the URL

As well as parsing the username and password from the URL, added support
for parsing the optional options part from the login details, to allow
the following supported URL format:

schema://username:password;options@example.com/path?q=foobar

This will only be used by IMAP, POP3 and SMTP at present but any
protocol that may be given login options in the URL will be able to
add support for them.
lib/url.c
lib/urldata.h