GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
command
Version:
v2.8.2
Opens a new window with list of versions in this module.
Published: Feb 12, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
APITypings
This main.go generates typescript types from the codersdk types in Go.
Features
- Supports Go types
- Basics (string/int/etc)
- Maps
- Slices
- Enums
- Pointers
- External Types (uses
any
atm)
- Some custom external types are hardcoded in (eg: time.Time)
Type overrides
type Foo struct {
// Force the typescript type to be a number
CreatedAt time.Duration `json:"created_at" typescript:"number"`
}
Ignore Types
Do not generate ignored types.
// @typescript-ignore InternalType
type InternalType struct {
// ...
}
Future Ideas
- Use a yaml config for overriding certain types
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.