Documentation
¶
Overview ¶
Package githubendpoint validates token-bearing GitHub API endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsafeEndpoint = errors.New("unsafe GitHub API endpoint")
Functions ¶
func ArchiveRedirectPolicy ¶ added in v1.12.0
ArchiveRedirectPolicy permits GitHub.com's documented archive redirect to codeload.github.com. Authorization is removed before the cross-origin hop; every other cross-origin redirect remains blocked.
Types ¶
Click to show internal directories.
Click to hide internal directories.