From e30f39b1964f96c0299a060305ab398e3fd3da6a Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Thu, 2 Mar 2023 19:43:24 +0100 Subject: [PATCH] Fix typo in error message. --- handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler.go b/handler.go index aa6dfdd..681e317 100644 --- a/handler.go +++ b/handler.go @@ -169,7 +169,7 @@ func handleGeminiRequest(conn net.Conn, sysConfig SysConfig, config UserConfig, log.Println("Error testing whether path " + path + " is below DocBase: " + err.Error()) } if !isSub { - log.Println("Refusing to follow simlink from " + rawPath + " outside of DocBase!") + log.Println("Refusing to follow symlink from " + rawPath + " outside of DocBase!") } if err != nil || !isSub { conn.Write([]byte("51 Not found!\r\n"))