mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-17 07:27:51 +00:00
Url decode the path
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user