Skip to content
Snippets Groups Projects
Forked from alpine / apk-tools
Source project has a limited visibility.
  • Jan Hendrik Farr's avatar
    0f50f9ff
    libfetch: Allow special characters in http basic auth · 0f50f9ff
    Jan Hendrik Farr authored and Timo Teräs's avatar Timo Teräs committed
    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
    0f50f9ff
    History
    libfetch: Allow special characters in http basic auth
    Jan Hendrik Farr authored and Timo Teräs's avatar Timo Teräs committed
    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