FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(github): sanitize gist description and file bodies on read paths by SashaMIT · Pull Request #3043 · github/github-mcp-server · GitHub

fix(github): sanitize gist description and file bodies on read paths - #3043

Open
SashaMIT wants to merge 1 commit into
github:mainfrom
SashaMIT:fix/sanitize-gist-bodies
Open

fix(github): sanitize gist description and file bodies on read paths#3043
SashaMIT wants to merge 1 commit into
github:mainfrom
SashaMIT:fix/sanitize-gist-bodies

Conversation

SashaMIT commented Aug 8, 2026

Copy link
Copy Markdown

Summary

Test plan

  • go test ./pkg/github/ -run 'TestSanitizeGist|Test_GetGist|Test_ListGists' -count=1
  • CI green on this PR

Tooling assist used for prep; commit authored/signed by me (no Cursor co-author trailer).

Made with Cursor

Sibling of github#3035/github#3039/github#3040: list_gists and get_gist still returned raw
user-authored gist text to the model. Apply sanitize.Sanitize to
description and file contents before marshal.

Signed-off-by: Sasha Mitchell <sash.t.mitchell@gmail.com>
SashaMIT requested a review from a team as a code owner August 8, 2026 20:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL