Fix typo in error message.
This commit is contained in:
parent
3a03995f26
commit
e30f39b196
|
@ -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"))
|
||||||
|
|
Loading…
Reference in New Issue