mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2026-11-08 19:08:50 +00:00
fix: decode vmess name when not presented as base64
This commit is contained in:
1 parent
841e83f401
commit
82a5942af7
1 file changed
+1
-1
@@ -76,7 +76,7 @@ fn get_raw_data_from_uri(data: &str) -> RawData {
|
||||
let query: Vec<(&str, &str)> = querystring::querify(raw_query);
|
||||
|
||||
return RawData {
|
||||
remarks: String::from(name),
|
||||
remarks: url_decode(Some(String::from(name))).unwrap_or(String::from("")),
|
||||
uuid: Some(parsed_address.uuid),
|
||||
port: Some(parsed_address.port),
|
||||
address: Some(parsed_address.address),
|
||||
|
||||
Reference in new issue
Block a user