Userinfo is urlencoded in URIs (RFC 3986)
authorDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 31 Mar 2010 15:19:10 +0000 (17:19 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Wed, 31 Mar 2010 15:19:10 +0000 (17:19 +0200)
commit436d7eab92bb8f9cc6498acfbf2055e717be6fd0
treeb20637bf103d7defe34013f4e2b475aeaa7fe53b
parente84adb76c87f419ed5bad8f7d08a4132de2bc406
Userinfo is urlencoded in URIs (RFC 3986)
Thanks to Jean-Baptiste Lallement for spotting and fixing it!

* apt-pkg/contrib/strutl.cc:
  - always escape '%' (LP: #130289) (Closes: #500560)
  - unescape '%' sequence only if followed by 2 hex digit
  - username/password are urlencoded in proxy string (RFC 3986)
apt-pkg/contrib/strutl.cc
apt-pkg/contrib/strutl.h
debian/changelog