Bump version v7.9.2

This commit is contained in:
Σrebe - Romain GERARD 2023-11-09 17:19:08 +01:00
parent 91d1215d5b
commit 71a937e926
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4
3 changed files with 3 additions and 2 deletions

View file

@ -112,6 +112,7 @@ pub async fn connect_with_http_proxy(
info!("Connected to http proxy {}:{}", proxy_host, proxy_port);
let authorization = if let Some((user, password)) = proxy.password().map(|p| (proxy.username(), p)) {
let user = urlencoding::decode(user).with_context(|| format!("Cannot urldecode proxy user: {}", user))?;
let password =
urlencoding::decode(password).with_context(|| format!("Cannot urldecode proxy password: {}", password))?;
let creds = base64::engine::general_purpose::STANDARD.encode(format!("{}:{}", user, password));