libfetch: Support percent-encoded user and password
authorJohn Marino <draco@marino.st>
Thu, 1 Nov 2012 20:43:06 +0000 (21:43 +0100)
committerJohn Marino <draco@marino.st>
Thu, 1 Nov 2012 21:56:18 +0000 (22:56 +0100)
commit7ee713ddd8b712a3de5b8bc8451cbf80352c285e
tree39eb2393b1acb7938ddfb275f7117bc9696fa047
parent245e028cba44feaddf55549c4c31f246f73c7c81
libfetch: Support percent-encoded user and password

RFC 1738 specifies that any ":", "@", or "/" within a user name or
password in a URL is percent-encoded, to avoid ambiguity with the use
of those characters as URL component separators.

Taken-From: FreeBSD SVN 234138 (12 APR 2012)
lib/libfetch/fetch.c