From 9da7132bf125c47599922d940c6cb1bc6d05fe8d Mon Sep 17 00:00:00 2001 From: svkalinin Date: Thu, 11 Jul 2024 10:41:34 +0300 Subject: [PATCH] =?UTF-8?q?vault-wrap:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BE=D0=BA=D0=B0?= =?UTF-8?q?=D0=B7=D0=B0=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D0=B8?= =?UTF-8?q?=D0=B7=20=D0=B4=D1=80=D1=83=D0=B3=D0=B8=D1=85=20=D1=81=D0=B5?= =?UTF-8?q?=D1=81=D1=81=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vault.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vault.go b/vault.go index c4357cf..fabe499 100644 --- a/vault.go +++ b/vault.go @@ -168,6 +168,7 @@ func getDataFromHtmlForm(w http.ResponseWriter, r *http.Request) { vaultPath := VaultAddress + "/v1/sys/wrapping/unwrap" + Data = "" // fmt.Fprintln(w, r.URL.RawQuery) // log.Println(w, r.URL.RawQuery) if Debug { @@ -196,7 +197,7 @@ func getDataFromHtmlForm(w http.ResponseWriter, r *http.Request) { func genPassword(w http.ResponseWriter, r *http.Request) { // params := mux.Vars(r) // passLength := params["passLength"] - + Data = "" r.ParseForm() passLength := r.FormValue("passlength") if Debug {