mirror of
https://github.com/house-of-vanity/v2-uri-parser.git
synced 2026-11-08 11:08:49 +00:00
Url decode names
This commit is contained in:
1 parent
291f98f687
commit
b3fe8a1fd1
3 files changed
+4
-4
No files matched your search
@@ -13,7 +13,7 @@ pub fn get_data(uri: &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