René's URL Explorer Experiment


Title: fix(graph): always sanitize bundle filename, even if it already ends in .cgc by surajthedev · Pull Request #1541 · CodeGraphContext/CodeGraphContext · GitHub

Open Graph Title: fix(graph): always sanitize bundle filename, even if it already ends in .cgc by surajthedev · Pull Request #1541 · CodeGraphContext/CodeGraphContext

X Title: fix(graph): always sanitize bundle filename, even if it already ends in .cgc by surajthedev · Pull Request #1541 · CodeGraphContext/CodeGraphContext

Description: An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants. - fix(graph): always sanitize bundle filename, even if it already ends in .cgc by surajthedev · Pull Request #1541 · CodeGraphContext/CodeGraphContext

Open Graph Description: Closes #1517 sanitize_bundle_filename in utils/path_sandbox.py only ran the sanitization regex when the name did NOT already end in .cgc. This meant a name that was already unsafe but happened to e...

X Description: Closes #1517 sanitize_bundle_filename in utils/path_sandbox.py only ran the sanitization regex when the name did NOT already end in .cgc. This meant a name that was already unsafe but happened to e...

Opengraph URL: https://github.com/CodeGraphContext/CodeGraphContext/pull/1541

X: @github

direct link

Domain: github.com

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e09e708f-3e44-a756-4d50-c7442a48ae66
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC712:2978F1:4AA384:61D5E1:6B00CA9D
html-safe-nonce4495ef10e3b1e9331829f4cf3114afef98933dc3a77a938d3dcc259f9ca735e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzEyOjI5NzhGMTo0QUEzODQ6NjFENUUxOjZCMDBDQTlEIiwidmlzaXRvcl9pZCI6IjM4OTMzNzc5ODE0ODk0MDA0NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc7ac091adcc2a4facc682dc063272e7de6cb0168b53a76d4a0ee3a69f7871b28
hovercard-subject-tagpull_request:4183674076
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/CodeGraphContext/CodeGraphContext/1541/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7f21405a3082f4050086990783a7312e3057a4e617cc4394b945d62195faaf30/CodeGraphContext/CodeGraphContext/pull/1541
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7f21405a3082f4050086990783a7312e3057a4e617cc4394b945d62195faaf30/CodeGraphContext/CodeGraphContext/pull/1541
og:image:altCloses #1517 sanitize_bundle_filename in utils/path_sandbox.py only ran the sanitization regex when the name did NOT already end in .cgc. This meant a name that was already unsafe but happened to e...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesurajthedev
hostnamegithub.com
expected-hostnamegithub.com
None98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4
turbo-cache-controlno-cache
go-importgithub.com/CodeGraphContext/CodeGraphContext git https://github.com/CodeGraphContext/CodeGraphContext.git
octolytics-dimension-user_id254547472
octolytics-dimension-user_loginCodeGraphContext
octolytics-dimension-repository_id1039237865
octolytics-dimension-repository_nwoCodeGraphContext/CodeGraphContext
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1039237865
octolytics-dimension-repository_network_root_nwoCodeGraphContext/CodeGraphContext
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseef013399cf0a3c324bea644a685d7c1e0f06b5b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCodeGraphContext%2FCodeGraphContext%2Fpull%2F1541
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%2FCodeGraphContext%2FCodeGraphContext%2Fpull%2F1541
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=CodeGraphContext%2FCodeGraphContext
Reloadhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
Reloadhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
Reloadhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
CodeGraphContexthttps://github.com/CodeGraphContext
CodeGraphContexthttps://github.com/CodeGraphContext/CodeGraphContext
Codehttps://github.com/CodeGraphContext/CodeGraphContext
Issues82 (82)https://github.com/CodeGraphContext/CodeGraphContext/issues
Pull requests14 (14)https://github.com/CodeGraphContext/CodeGraphContext/pulls
Discussionshttps://github.com/CodeGraphContext/CodeGraphContext/discussions
Actionshttps://github.com/CodeGraphContext/CodeGraphContext/actions
Projectshttps://github.com/CodeGraphContext/CodeGraphContext/projects
Wikihttps://github.com/CodeGraphContext/CodeGraphContext/wiki
Security and qualityhttps://github.com/CodeGraphContext/CodeGraphContext/security
Insightshttps://github.com/CodeGraphContext/CodeGraphContext/insights
https://github.com/CodeGraphContext/CodeGraphContext
Shashankss1205https://github.com/Shashankss1205
CodeGraphContext:mainhttps://github.com/CodeGraphContext/CodeGraphContext/tree/main
surajthedev:fix/sanitize-bundle-filename-cgc-skiphttps://github.com/surajthedev/CodeGraphContext/tree/fix/sanitize-bundle-filename-cgc-skip
Conversationhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
Commits1 (1)https://github.com/CodeGraphContext/CodeGraphContext/pull/1541/commits
Checkshttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541/checks
Files changedhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541/files
fix(graph): always sanitize bundle filename, even if it already ends in .cgchttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541#top
Shashankss1205https://github.com/Shashankss1205
CodeGraphContext:mainhttps://github.com/CodeGraphContext/CodeGraphContext/tree/main
surajthedev:fix/sanitize-bundle-filename-cgc-skiphttps://github.com/surajthedev/CodeGraphContext/tree/fix/sanitize-bundle-filename-cgc-skip
https://github.com/surajthedev
surajthedevhttps://github.com/surajthedev
Aug 1, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#issue-5036766687
#1517https://github.com/CodeGraphContext/CodeGraphContext/issues/1517
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
https://github.com/suraj-k-umar
fix: sanitize bundle filename unconditionally regardless of .cgc exte…https://github.com/CodeGraphContext/CodeGraphContext/pull/1541/commits/758cbf26d01e13290ac2df4dde1798792018e73b
758cbf2https://github.com/CodeGraphContext/CodeGraphContext/pull/1541/commits/758cbf26d01e13290ac2df4dde1798792018e73b
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
CGC Progress Boardhttps://github.com/orgs/CodeGraphContext/projects/1
Aug 1, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#event-28816844755
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
CGC Progress Boardhttps://github.com/orgs/CodeGraphContext/projects/1
Aug 1, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#event-28816845953
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Aug 1, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#issuecomment-5151201857
@suraj-k-umarhttps://github.com/suraj-k-umar
Vercelhttps://vercel.com
authorize ithttps://vercel.com/git/authorize?team=shashankss1205's%20projects&slug=shashankss1205s-projects&teamId=team_9I9MKKutLuAAxf229Gy8WENF&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%22758cbf26d01e13290ac2df4dde1798792018e73b%22%7D%2C%22id%22%3A%22QmWfjCekynLmtzYqsSWiTTjy7ic5To1TvjaQFzQqgHQAMR%22%2C%22org%22%3A%22CodeGraphContext%22%2C%22prId%22%3A1541%2C%22repo%22%3A%22CodeGraphContext%22%7D
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
fix: fall back when GCF encoding fails #1539 https://github.com/CodeGraphContext/CodeGraphContext/pull/1539
fix: read import aliases from relationships #1540 https://github.com/CodeGraphContext/CodeGraphContext/pull/1540
https://github.com/Shashankss1205
Shashankss1205https://github.com/Shashankss1205
Aug 2, 2026 https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#pullrequestreview-4839256569
View reviewed changes https://github.com/CodeGraphContext/CodeGraphContext/pull/1541/files/758cbf26d01e13290ac2df4dde1798792018e73b
Shashankss1205https://github.com/Shashankss1205
https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#pullrequestreview-4839256569
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1539https://github.com/CodeGraphContext/CodeGraphContext/pull/1539
#1540https://github.com/CodeGraphContext/CodeGraphContext/pull/1540
#1517https://github.com/CodeGraphContext/CodeGraphContext/issues/1517
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
https://github.com/Shashankss1205
Shashankss1205https://github.com/Shashankss1205
d0f85c2https://github.com/CodeGraphContext/CodeGraphContext/commit/d0f85c2aa2050f035aedeec8b214af463b103c72
Aug 2, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#event-28853633385
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
CGC Progress Boardhttps://github.com/orgs/CodeGraphContext/projects/1
Aug 2, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#event-28853634870
https://github.com/Shashankss1205
Shashankss1205https://github.com/Shashankss1205
Aug 2, 2026 https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#ref-pullrequest-5044326035
chore(release): bump version to 0.5.5 #1569 https://github.com/CodeGraphContext/CodeGraphContext/pull/1569
Shashankss1205https://github.com/Shashankss1205
Aug 2, 2026 https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#ref-commit-0aa7017
https://github.com/Shashankss1205
https://github.com/claude
chore(release): bump version to 0.5.5 (https://github.com/CodeGraphContext/CodeGraphContext/commit/0aa7017b8c27487a908079425eb16a43d310d0c7
#1569https://github.com/CodeGraphContext/CodeGraphContext/pull/1569
)https://github.com/CodeGraphContext/CodeGraphContext/commit/0aa7017b8c27487a908079425eb16a43d310d0c7
0aa7017https://github.com/CodeGraphContext/CodeGraphContext/commit/0aa7017b8c27487a908079425eb16a43d310d0c7
#1565https://github.com/CodeGraphContext/CodeGraphContext/issues/1565
#1566https://github.com/CodeGraphContext/CodeGraphContext/pull/1566
#1522https://github.com/CodeGraphContext/CodeGraphContext/issues/1522
#1563https://github.com/CodeGraphContext/CodeGraphContext/pull/1563
#1520https://github.com/CodeGraphContext/CodeGraphContext/issues/1520
#1521https://github.com/CodeGraphContext/CodeGraphContext/issues/1521
#1561https://github.com/CodeGraphContext/CodeGraphContext/pull/1561
#1517https://github.com/CodeGraphContext/CodeGraphContext/issues/1517
#1541https://github.com/CodeGraphContext/CodeGraphContext/pull/1541
#1515https://github.com/CodeGraphContext/CodeGraphContext/issues/1515
#1540https://github.com/CodeGraphContext/CodeGraphContext/pull/1540
#1518https://github.com/CodeGraphContext/CodeGraphContext/issues/1518
#1539https://github.com/CodeGraphContext/CodeGraphContext/pull/1539
https://github.com/Shashankss1205
Shashankss1205https://github.com/Shashankss1205
gssoc:approved https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Agssoc%3Aapproved
level:advanced https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Alevel%3Aadvanced
mentor:Shashankss1205 https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Amentor%3AShashankss1205
quality:clean https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Aquality%3Aclean
type:security https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Atype%3Asecurity
Aug 15, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1541#event-29504790479
https://github.co/hiddenchars
https://github.com/CodeGraphContext/CodeGraphContext/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCodeGraphContext%2FCodeGraphContext%2Fpull%2F1541
https://github.com/Shashankss1205
Shashankss1205 https://github.com/Shashankss1205
https://github.com/CodeGraphContext/CodeGraphContext/pull/1541/files/758cbf26d01e13290ac2df4dde1798792018e73b
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
gssoc:approved https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Agssoc%3Aapproved
level:advanced https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Alevel%3Aadvanced
mentor:Shashankss1205 https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Amentor%3AShashankss1205
quality:clean https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Aquality%3Aclean
type:security https://github.com/CodeGraphContext/CodeGraphContext/issues?q=state%3Aopen%20label%3Atype%3Asecurity
CGC Progress Board https://github.com/orgs/CodeGraphContext/projects/1
bug(graph): sanitize_bundle_filename skips sanitization entirely for unsafe names that already end in .cgc https://github.com/CodeGraphContext/CodeGraphContext/issues/1517
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1541
https://github.com/surajthedev
https://github.com/Shashankss1205
https://github.com/suraj-k-umar
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

Viewport: width=device-width


URLs of crawlers that visited me.