aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/sanitize_uri.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/sanitize_uri.rs')
-rw-r--r--src/util/sanitize_uri.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/sanitize_uri.rs b/src/util/sanitize_uri.rs
index 593a70e..969a4d8 100644
--- a/src/util/sanitize_uri.rs
+++ b/src/util/sanitize_uri.rs
@@ -1,6 +1,11 @@
//! Make urls safe.
use crate::util::encode::encode;
+use alloc::{
+ format,
+ string::{String, ToString},
+ vec::Vec,
+};
/// Make a value safe for injection as a URL.
///