From f8d9be7c6db644419274da3046586db97970ae3e Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Tue, 19 Nov 2024 09:31:50 +1300 Subject: [PATCH] Fix: temporary file naming --- src/filestore/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filestore/mod.rs b/src/filestore/mod.rs index 3b43dac..e7c991b 100644 --- a/src/filestore/mod.rs +++ b/src/filestore/mod.rs @@ -36,7 +36,7 @@ impl FileStore { fn tmpfile(&self) -> PathBuf { let mut tf = self.temp.clone(); - let nonce = textnonce::TextNonce::new(); + let nonce = textnonce::TextNonce::sized_urlsafe(32).unwrap(); tf.push(&nonce.0); tf }