Fix typo in error message.

This commit is contained in:
Solderpunk 2023-03-02 19:43:24 +01:00
parent 3a03995f26
commit e30f39b196
1 changed files with 1 additions and 1 deletions

View File

@ -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()) log.Println("Error testing whether path " + path + " is below DocBase: " + err.Error())
} }
if !isSub { 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 { if err != nil || !isSub {
conn.Write([]byte("51 Not found!\r\n")) conn.Write([]byte("51 Not found!\r\n"))