Affected by GO-2024-2528
and 2 other vulnerabilities
GO-2024-2528 : Etcd Gateway TLS endpoint validation only confirms TCP reachability in go.etcd.io/etcd
GO-2024-2529 : Etcd embed auto compaction retention negative value causing a compaction loop or a crash in go.etcd.io/etcd
GO-2024-2530 : Etcd auth Inaccurate logging of authentication attempts for users with CN-based auth only in go.etcd.io/etcd
The highest tagged major version is
v3 .
Discover Packages
go.etcd.io/etcd
pkg
pathutil
package
Version:
v2.2.1+incompatible
Opens a new window with list of versions in this module.
Published: Oct 16, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 16
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types CanonicalURLPath(p)
Documentation
¶
CanonicalURLPath returns the canonical url path for p, which follows the rules:
1. the path always starts with "/"
2. replace multiple slashes with a single slash
3. replace each '.' '..' path name element with equivalent one
4. keep the trailing slash
The function is borrowed from stdlib http.cleanPath in server.go.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.