diff options
Diffstat (limited to 'src/util/sanitize_uri.rs')
-rw-r--r-- | src/util/sanitize_uri.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sanitize_uri.rs b/src/util/sanitize_uri.rs index d66978e..55b15e4 100644 --- a/src/util/sanitize_uri.rs +++ b/src/util/sanitize_uri.rs @@ -115,7 +115,7 @@ fn normalize_uri(value: &str) -> String { result.push( buff[0..char.len_utf8()] .iter() - .map(|&byte| format!("%{:X}", byte)) + .map(|&byte| format!("%{:>02X}", byte)) .collect::<String>(), ); |