mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2025-12-15 14:47:51 +00:00
fix: decode vmess name when not presented as base64
This commit is contained in:
@@ -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