Title: fix(web): validate git ref and file path inputs by brendan-kellam · Pull Request #965 · sourcebot-dev/sourcebot · GitHub
Open Graph Title: fix(web): validate git ref and file path inputs by brendan-kellam · Pull Request #965 · sourcebot-dev/sourcebot
X Title: fix(web): validate git ref and file path inputs by brendan-kellam · Pull Request #965 · sourcebot-dev/sourcebot
Description: Sourcebot is a self-hosted tool that helps humans and agents understand your codebase. - fix(web): validate git ref and file path inputs by brendan-kellam · Pull Request #965 · sourcebot-dev/sourcebot
Open Graph Description: Summary Reject ref values starting with - in list_commits, list_tree, and read_file — returns 400 INVALID_GIT_REF instead of passing the value unsanitized to the git CLI Apply existing isPathValid...
X Description: Summary Reject ref values starting with - in list_commits, list_tree, and read_file — returns 400 INVALID_GIT_REF instead of passing the value unsanitized to the git CLI Apply existing isPathValid...
Opengraph URL: https://github.com/sourcebot-dev/sourcebot/pull/965
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:eaa082b6-d9c3-a3cf-739e-37a1bdfd54d1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9BAA:3092B8:9E992D:A20E92:6A4DB248 |
| html-safe-nonce | c22e361362747b4ab745c7fa8da5cfb63ccf8265b4e9afd7a916a64a8fb7d392 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkFBOjMwOTJCODo5RTk5MkQ6QTIwRTkyOjZBNERCMjQ4IiwidmlzaXRvcl9pZCI6IjE3MTQ4Mjk1NzgwNTUwMzc1MTIiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 3f118b27d98946ff7ad31c098f58efba3133293d69b8b72e7e31f0c91c5ec825 |
| hovercard-subject-tag | pull_request:3337663208 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sourcebot-dev/sourcebot/965/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/799a0f9449f383bac882d91fad4e6b184c7957f4ddbb939dd566ed15501c1df1/sourcebot-dev/sourcebot/pull/965 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/799a0f9449f383bac882d91fad4e6b184c7957f4ddbb939dd566ed15501c1df1/sourcebot-dev/sourcebot/pull/965 |
| og:image:alt | Summary Reject ref values starting with - in list_commits, list_tree, and read_file — returns 400 INVALID_GIT_REF instead of passing the value unsanitized to the git CLI Apply existing isPathValid... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brendan-kellam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-cache |
| go-import | github.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git |
| octolytics-dimension-user_id | 135396723 |
| octolytics-dimension-user_login | sourcebot-dev |
| octolytics-dimension-repository_id | 846729675 |
| octolytics-dimension-repository_nwo | sourcebot-dev/sourcebot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 846729675 |
| octolytics-dimension-repository_network_root_nwo | sourcebot-dev/sourcebot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width