mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2026-11-08 19:08:50 +00:00
Url decode the path
This commit is contained in:
1 parent
0308e55478
commit
5296b6a413
3 files changed
+14
-2
No files matched your search
@@ -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