diff options
author | Sheepy <sheepy404@gmail.com> | 2022-06-26 00:02:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 00:02:02 +0000 |
commit | 5bcfa4ac832a9457ed32ff377febf6e284c5e1d5 (patch) | |
tree | f5c3eb3eab367f16d24535109955134f9c591e5c /src/listing.rs | |
parent | Bump clap_mangen from 0.1.8 to 0.1.9 (#826) (diff) | |
download | miniserve-5bcfa4ac832a9457ed32ff377febf6e284c5e1d5.tar.gz miniserve-5bcfa4ac832a9457ed32ff377febf6e284c5e1d5.zip |
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 <svenstaro@gmail.com>
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
Diffstat (limited to '')
-rw-r--r-- | src/listing.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<SortingMethod>, pub order: Option<SortingOrder>, pub raw: Option<bool>, + pub mkdir_name: Option<String>, qrcode: Option<String>, download: Option<ArchiveMethod>, } |