Affected by GO-2026-5075
and 4 other vulnerabilities
GO-2026-5075: Heimdall: IP Spoofing via Unvalidated Forwarding Headers in github.com/dadrus/heimdall
GO-2026-5097: Heimdall has an authorization bypass via path normalization mismatch in github.com/dadrus/heimdall
GO-2026-5108: Heimdall: Case-sensitive handling of URL-encoded slashes may lead to inconsistent path interpretation in github.com/dadrus/heimdall
GO-2026-5125: Heimdall: Forwarded Header Injection via Unsanitized Host Header in Proxy Mode in github.com/dadrus/heimdall
GO-2026-5200: Heimdall: Case-sensitive host matching may lead to policy bypass in github.com/dadrus/heimdall
package
Version:
v0.1.0-alpha
Opens a new window with list of versions in this module.
Published: Jul 19, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
WithContext returns a copy of ctx with cache associated. If a Cache instance
is already in the context, the ctx is not updated.
For instance, to make use of the cache in the context, use this
notation:
ctx := r.Context()
cch := cache.Ctx(ctx)
val := cch.Get("some key")
use val
Ctx returns the Cache associated with the ctx. If no cache is associated, an instance is
returned, which does nothing.
type Evictor interface {
Start()
Stop()
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.