Bug fix: File path is checked to make sure it's in the root directory or in ~/public_gemini

This commit is contained in:
int 80h
2022-02-17 22:24:21 -05:00
parent eb129467f1
commit 827a9c1481
5 changed files with 71 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "gemserv"
version = "0.6.5"
version = "0.6.6"
authors = ["int 80h <int@80h.dev>"]
edition = "2018"
description = "A gemini server"
@@ -27,6 +27,8 @@ log = "0.4.14"
simple_logger = "1.16"
sha2 = "0.9.8"
x509-parser = "0.12"
regex = "1.5.4"
lazy_static = "1.4.0"
[dependencies.tokio-rustls]
version = "0.23.2"