Skip to content

Commit

Permalink
Bump version v7.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Nov 9, 2023
1 parent 91d1215 commit 71a937e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wstunnel"
version = "7.9.1"
version = "7.9.2"
edition = "2021"
repository = "https://github.com/erebe/wstunnel.git"

Expand Down
1 change: 1 addition & 0 deletions src/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 71a937e

Please sign in to comment.