diff options
author | Jan Hendrik Farr <git@jfarr.cc> | 2021-12-16 23:34:38 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2021-12-17 10:17:33 +0200 |
commit | 06fd9fe1d9899e64ee954a1b1781fb0496925b76 (patch) | |
tree | f1001099177aa0cc878a07d0a587cb2574f44d65 /libfetch/http.c | |
parent | 9c888aa7b9ec733d77a2214e122df9112c7e55ba (diff) | |
download | apk-tools-06fd9fe1d9899e64ee954a1b1781fb0496925b76.tar.gz apk-tools-06fd9fe1d9899e64ee954a1b1781fb0496925b76.tar.bz2 apk-tools-06fd9fe1d9899e64ee954a1b1781fb0496925b76.tar.xz apk-tools-06fd9fe1d9899e64ee954a1b1781fb0496925b76.zip |
libfetch: Allow special characters in http basic auth
Currently, special characters in the username or password are not
handled correctly (when set in $http_proxy and $https_proxy). They
should be percent encoded in the environment variables then decoded
by libfetch and reencoded using base64. This implementation is mainly
taken from the current FreeBSD source and adapted to the apk-tools
version of libfetch.
fixes #10775
Diffstat (limited to 'libfetch/http.c')
0 files changed, 0 insertions, 0 deletions