From 5bcfa4ac832a9457ed32ff377febf6e284c5e1d5 Mon Sep 17 00:00:00 2001 From: Sheepy Date: Sat, 25 Jun 2022 19:02:02 -0500 Subject: Create directory (#781) * Add ability to make directory Frontend for making directories Fix potential security vulnerability (CWE-23) Add tests Update README.md Disallow using parent directories altogether Fix formatting Fix clippy warnings Address review comments Update README.md Change `making` to `creation` Co-authored-by: Sven-Hendrik Haase Have make directory flag require file upload flag Address review comments * Disallow uploading files and making directories through symlinks when disabled * Add test * Clippy formatting changes * Add test doc comment --- src/listing.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/listing.rs') diff --git a/src/listing.rs b/src/listing.rs index 38e971e..887fa8b 100644 --- a/src/listing.rs +++ b/src/listing.rs @@ -36,6 +36,7 @@ pub struct QueryParameters { pub sort: Option, pub order: Option, pub raw: Option, + pub mkdir_name: Option, qrcode: Option, download: Option, } -- cgit v1.2.3