GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder

The highest tagged major version is
v2.
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Apr 6, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cliflag extends flagset with environment variable defaults.
Usage:
cliflag.String(root.Flags(), &address, "address", "a", "CODER_ADDRESS", "127.0.0.1:3000", "The address to serve the API and dashboard")
Will produce the following usage docs:
-a, --address string The address to serve the API and dashboard (uses $CODER_ADDRESS). (default "127.0.0.1:3000")
-
func BoolVarP(flagset *pflag.FlagSet, ptr *bool, name string, shorthand string, env string, ...)
-
func StringVarP(flagset *pflag.FlagSet, p *string, name string, shorthand string, env string, ...)
-
func Uint8VarP(flagset *pflag.FlagSet, ptr *uint8, name string, shorthand string, env string, ...)
BoolVarP sets a bool flag on the given flag set.
StringVarP sets a string flag on the given flag set.
Uint8VarP sets a uint8 flag on the given flag set.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.