vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 89840790e75d90241db196a55dd3856684f48b2d
parent a72809b225bc66d5b819113b23f877c29c264d06
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Wed,  6 Feb 2019 14:54:39 +0100

Fix .env path traversal issue

Diffstat:
Msrc/config.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config.rs b/src/config.rs @@ -44,7 +44,7 @@ macro_rules! make_config { impl ConfigBuilder { fn from_env() -> Self { - dotenv::dotenv().ok(); + dotenv::from_path(".env").ok(); let mut builder = ConfigBuilder::default(); $($(