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:
v3.2.22+incompatible
Opens a new window with list of versions in this module.
Published: Jun 6, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cors handles cross-origin HTTP requests (CORS).
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.
Set 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.