René's URL Explorer Experiment


Title: Fix UTF-8 encoding in repository resource URIs by lorenzozanee · Pull Request #3437 · github/github-mcp-server · GitHub

Open Graph Title: Fix UTF-8 encoding in repository resource URIs by lorenzozanee · Pull Request #3437 · github/github-mcp-server

X Title: Fix UTF-8 encoding in repository resource URIs by lorenzozanee · Pull Request #3437 · github/github-mcp-server

Description: Summary Encode repository resource URI components from their UTF-8 bytes so non-ASCII repository paths remain readable through resources/read. Why The current URI expansion encodes Unicode code points instead of UTF-8 octets, so resources/read can resolve a different path for non-ASCII file names. Fixes #3418 What changed Add a UTF-8 byte-based encoder for repository resource URI components. Apply it to owners, repositories, refs, SHAs, pull-request refs, and path components while preserving URI structure. Cover URI families, reserved characters, inline resources, large-file links, and consumer decoding. MCP impact No tool or API changes Tool schema or behavior changed Resource URI behavior now preserves non-ASCII repository paths through resources/read; tool schemas are unchanged. New tool added Prompts tested (tool changes only) Not applicable; this change fixes resource URI encoding rather than tool invocation prompts. Security / limits No security or limits impact The change does not alter authentication, authorization, filtering, or size limits. Auth / permissions considered Data exposure, filtering, or token/size limits considered Tool renaming I am renaming tools as part of this PR (e.g. a part of a consolidation effort) I have added the new tool aliases in deprecated_tool_aliases.go I am not renaming tools as part of this PR Lint & tests Linted locally with ./script/lint Tested locally with ./script/test Validated with go test ./... -count=1, go test -race ./..., focused URI/resource tests, gofmt -s -d, and git diff --check. A recorded isolated golangci-lint v2.14.0 run reported 0 issues; a fresh lint rerun was unavailable in the worker environment. Docs Not needed Updated (README / docs / examples)

Open Graph Description: Summary Encode repository resource URI components from their UTF-8 bytes so non-ASCII repository paths remain readable through resources/read. Why The current URI expansion encodes Unicode code poi...

X Description: Summary Encode repository resource URI components from their UTF-8 bytes so non-ASCII repository paths remain readable through resources/read. Why The current URI expansion encodes Unicode code poi...

Opengraph URL: https://github.com/github/github-mcp-server/pull/3437

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0ce8fd1c-fcb0-056a-4f16-ef041b556fc8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9892:3962DC:716754:9AB688:6B05E870
html-safe-noncecc9db3f2faa41c1bc1e77cf83e09229f5d6d5897cfef071b8fe1223414a053af
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODkyOjM5NjJEQzo3MTY3NTQ6OUFCNjg4OjZCMDVFODcwIiwidmlzaXRvcl9pZCI6IjczNjg0MDk1NzY1Njk2OTQzMjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd268aa8c47adb1e228439054c95ecff76af3e0c38c3bbbbc9c4a91cee05dd774
hovercard-subject-tagpull_request:4764646081
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/github-mcp-server/pull/3437/files
twitter:imagehttps://avatars.githubusercontent.com/u/195543813?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/195543813?s=400&v=4
og:image:altSummary Encode repository resource URI components from their UTF-8 bytes so non-ASCII repository paths remain readable through resources/read. Why The current URI expansion encodes Unicode code poi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9e6b0e6e5a9a8e0ddb968297ede4e2eac72d30ea174a0970eb8f22d6958e91e3
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id942771284
octolytics-dimension-repository_nwogithub/github-mcp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id942771284
octolytics-dimension-repository_network_root_nwogithub/github-mcp-server
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release023691d14ad20c90d3ee61b0a0977b17dc6b6361
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/3437/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F3437%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F3437%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/pull/3437/files
Reloadhttps://github.com/github/github-mcp-server/pull/3437/files
Reloadhttps://github.com/github/github-mcp-server/pull/3437/files
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues238 (238)https://github.com/github/github-mcp-server/issues
Pull requests226 (226)https://github.com/github/github-mcp-server/pulls
Discussionshttps://github.com/github/github-mcp-server/discussions
Actionshttps://github.com/github/github-mcp-server/actions
Security and quality2 (2)https://github.com/github/github-mcp-server/security
Insightshttps://github.com/github/github-mcp-server/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fgithub-mcp-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server%2Fissues%2Fnew%2Fchoose
IrynaKulakovahttps://github.com/IrynaKulakova
github:mainhttps://github.com/github/github-mcp-server/tree/main
lorenzozanee:fix/utf8-resource-urihttps://github.com/lorenzozanee/github-mcp-server/tree/fix/utf8-resource-uri
Conversation 1 https://github.com/github/github-mcp-server/pull/3437
Commits 3 https://github.com/github/github-mcp-server/pull/3437/commits
Checks 1 https://github.com/github/github-mcp-server/pull/3437/checks
Findings https://github.com/github/github-mcp-server/pull/3437/findings
Files changed https://github.com/github/github-mcp-server/pull/3437/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3437/files
Fix UTF-8 encoding in repository resource URIs https://github.com/github/github-mcp-server/pull/3437/files#top
Show all changes 3 commits https://github.com/github/github-mcp-server/pull/3437/files
fef6c95 fix: encode repository resource URIs as UTF-8 lorenzozanee Oct 6, 2026 https://github.com/github/github-mcp-server/pull/3437/commits/fef6c9575f497df323de175841a8ce599f3d465d
a95fea6 Merge branch 'main' into fix/utf8-resource-uri IrynaKulakova Oct 12, 2026 https://github.com/github/github-mcp-server/pull/3437/commits/a95fea627b900b4d5c38682a718267e8acb57381
c7b8be2 Merge branch 'main' into fix/utf8-resource-uri IrynaKulakova Oct 13, 2026 https://github.com/github/github-mcp-server/pull/3437/commits/c7b8be21758b58219c2457efec8dbd9a75f59c3f
Clear filters https://github.com/github/github-mcp-server/pull/3437/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3437/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/3437/files
repositories_test.go https://github.com/github/github-mcp-server/pull/3437/files#diff-1f37596d401182a6443ebc5cf77fd4451cb48bd6f8a3ca31742a7a29feed4279
repository_resource.go https://github.com/github/github-mcp-server/pull/3437/files#diff-8c2319afb75694e93b084f504d1c1fc8de262f4301c1888c05ab067d5bf0a21b
repository_resource_test.go https://github.com/github/github-mcp-server/pull/3437/files#diff-134064f0cd858eb16a795df5143e87363a3ac3bb4c6a58beddf2dbf1fd689ec3
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/repositories_test.gohttps://github.com/github/github-mcp-server/pull/3437/files#diff-1f37596d401182a6443ebc5cf77fd4451cb48bd6f8a3ca31742a7a29feed4279
View file https://github.com/lorenzozanee/github-mcp-server/blob/c7b8be21758b58219c2457efec8dbd9a75f59c3f/pkg/github/repositories_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3437/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3437/files#diff-1f37596d401182a6443ebc5cf77fd4451cb48bd6f8a3ca31742a7a29feed4279
https://github.com/github/github-mcp-server/pull/3437/files#diff-1f37596d401182a6443ebc5cf77fd4451cb48bd6f8a3ca31742a7a29feed4279
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/repository_resource.gohttps://github.com/github/github-mcp-server/pull/3437/files#diff-8c2319afb75694e93b084f504d1c1fc8de262f4301c1888c05ab067d5bf0a21b
View file https://github.com/lorenzozanee/github-mcp-server/blob/c7b8be21758b58219c2457efec8dbd9a75f59c3f/pkg/github/repository_resource.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3437/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3437/files#diff-8c2319afb75694e93b084f504d1c1fc8de262f4301c1888c05ab067d5bf0a21b
https://github.com/github/github-mcp-server/pull/3437/files#diff-8c2319afb75694e93b084f504d1c1fc8de262f4301c1888c05ab067d5bf0a21b
https://github.com/github/github-mcp-server/pull/3437/files#diff-8c2319afb75694e93b084f504d1c1fc8de262f4301c1888c05ab067d5bf0a21b
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
pkg/github/repository_resource_test.gohttps://github.com/github/github-mcp-server/pull/3437/files#diff-134064f0cd858eb16a795df5143e87363a3ac3bb4c6a58beddf2dbf1fd689ec3
View file https://github.com/lorenzozanee/github-mcp-server/blob/c7b8be21758b58219c2457efec8dbd9a75f59c3f/pkg/github/repository_resource_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/3437/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/3437/files#diff-134064f0cd858eb16a795df5143e87363a3ac3bb4c6a58beddf2dbf1fd689ec3
https://github.com/github/github-mcp-server/pull/3437/files#diff-134064f0cd858eb16a795df5143e87363a3ac3bb4c6a58beddf2dbf1fd689ec3
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.