Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
Validate checks a URL provided by an untrusted adapter. Non-loopback URLs must use HTTPS. Loopback HTTP requires explicit opt-in.
func ValidateFileRoot ¶
ValidateFileRoot checks that filePath is contained within fileRoot.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.