README for v0.2.0 (#118)
Preliminary readme for v0.2.0. We will make a GH "release" with the release notes.
This commit is contained in:
parent
6c6243c0b0
commit
78a66a438a
1 changed files with 23 additions and 53 deletions
|
|
@ -388,7 +388,7 @@ func (s *Server) lookupResourceHandler(uri string) (ResourceHandler, string, boo
|
|||
// The dir argument should be a filesystem path. It need not be absolute, but
|
||||
// that is recommended to avoid a dependency on the current working directory (the
|
||||
// check against client roots is done with an absolute path). If dir is not absolute
|
||||
// and the current working directory is unavailable, FileResourceHandler panics.
|
||||
// and the current working directory is unavailable, fileResourceHandler panics.
|
||||
//
|
||||
// Lexical path traversal attacks, where the path has ".." elements that escape dir,
|
||||
// are always caught. Go 1.24 and above also protects against symlink-based attacks,
|
||||
|
|
|
|||
Loading…
Reference in a new issue