waf

package
v1.0.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMalformedForwardedFor

func IsMalformedForwardedFor(s string, a, b int) bool

IsMalformedForwardedFor checks whether the provided X-Forwarded-For string is malformed.

func IsMalformedForwardedHost

func IsMalformedForwardedHost(s string, a, b int) bool

IsMalformedForwardedHost checks whether the provided X-Forwarded-Host string is malformed.

func IsMalformedForwardedPort

func IsMalformedForwardedPort(s string, a, b int) bool

IsMalformedForwardedPort checks whether the provided X-Forwarded-Port string is malformed.

func IsMalformedForwardedProto

func IsMalformedForwardedProto(s string, a, b int) bool

IsMalformedForwardedProto checks whether the provided X-Forwarded-Proto string is malformed.

func IsMalformedRealIP

func IsMalformedRealIP(s string, a, b int) bool

IsMalformedRealIP checks whether the provided X-Real-IP string is malformed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL