cli / go-gh

A Go module for interacting with gh and the GitHub API from the command line.
https://pkg.go.dev/github.com/cli/go-gh/v2
MIT License
322 stars 45 forks source link

Add asciisanitizer package and sanitization to http clients #125

Closed samcoe closed 11 months ago

samcoe commented 11 months ago

This PR adds the asciisanitizer package from gh so that extension authors can utilize it. Additionally, it is now added to the transport chain of all http clients so anyone using the clients will be protected from control character vulnerabilities.