GO-2023-2185 : Insecure parsing of Windows paths with a \??\ prefix in path/filepath
GO-2023-2185 : Insecure parsing of Windows paths with a \??\ prefix in path/filepath
Discover Packages
Standard library
internal
safefilepath
package
standard library
Version:
go1.18.10
Opens a new window with list of versions in this module.
Published: Jan 10, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package safefilepath manipulates operating-system file paths.
FromFS converts a slash-separated path into an operating-system path.
FromFS returns an error if the path cannot be represented by the operating
system. For example, paths containing '\' and ':' characters are rejected
on Windows.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.