Versions in this module Expand all Collapse all v1 v1.0.0 Feb 3, 2026 Changes in this version + var ErrInvalidPath = errors.New("invalid path characters") + var ErrPathTooLong = errors.New("path exceeds maximum length") + var ErrPathTraversal = errors.New("path traversal attempt detected") + func PathSecurityMiddleware(next http.Handler) http.Handler + func SafeFilePath(input string) (string, error) + func SafeFilePathWithBase(baseDir, userPath string) (string, error) + func SafePath(input string) (string, error)