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.
package
Version:
v0.5.0-alpha.4
Opens a new window with list of versions in this module.
Published: Nov 26, 2014
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func (*CORSHandler) ServeHTTP ¶
ServeHTTP adds the correct CORS headers based on the origin and returns immediately
with a 200 OK if the method is OPTIONS.
OriginAllowed determines whether the server will allow a given CORS origin.
CORSInfo implements the flag.Value interface to allow users to define a list of CORS origins
Source Files
¶
Click to show internal directories.
Click to hide internal directories.