Url decode the path

This commit is contained in:
Keivan-sf
2025-06-25 02:01:29 +03:30
parent 0308e55478
commit 5296b6a413
3 changed files with 14 additions and 2 deletions

View File

@@ -31,7 +31,11 @@ pub fn create_outbound_object(data: models::VlessData) -> Outbound {
headers: Some(HeaderSetting {
Host: Some(data.query.host),
}),
path: Some(data.query.path),
path: Some(
urlencoding::decode(data.query.path.as_str())
.unwrap()
.into_owned(),
),
acceptProxyProtocol: None,
})
} else {