Title: [bug] Sourcebot SSR fails on files with percent symbols · Issue #482 · sourcebot-dev/sourcebot · GitHub
Open Graph Title: [bug] Sourcebot SSR fails on files with percent symbols · Issue #482 · sourcebot-dev/sourcebot
X Title: [bug] Sourcebot SSR fails on files with percent symbols · Issue #482 · sourcebot-dev/sourcebot
Description: Describe the bug Trying to navigate to a directory/file with percent symbol in it lead to an SSR fail like this: Url part seem to work ok encoding percent symbol (...@HEAD/-/tree/playbooks/roles/clickhouse-logs/templates/all/sr...
Open Graph Description: Describe the bug Trying to navigate to a directory/file with percent symbol in it lead to an SSR fail like this: Url part seem to work ok encoding percent symbol (...@HEAD/-/tree/playbooks/roles%...
X Description: Describe the bug Trying to navigate to a directory/file with percent symbol in it lead to an SSR fail like this: Url part seem to work ok encoding percent symbol (...@HEAD/-/tree/playbooks/roles%...
Opengraph URL: https://github.com/sourcebot-dev/sourcebot/issues/482
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[bug] Sourcebot SSR fails on files with percent symbols","articleBody":"### Describe the bug\n\nTrying to navigate to a directory/file with percent symbol in it lead to an SSR fail like this:\n\n\u003cimg width=\"474\" height=\"440\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/5847ca7d-890a-4330-a736-19ff70987691\" /\u003e\n\nUrl part seem to work ok encoding percent symbol (`...@HEAD/-/tree/playbooks%2Froles%2Fclickhouse-logs%2Ftemplates%2Fall%2Fsrv%2F%25name%25`), but something goes south after that regardless.\n\n### To reproduce\n\nWe have `%name%` directory in our repository. I guess simplest way to reporduce – create such a dir in an indexed repo and try to navigate into it\n\n### Sourcebot deployment information\n\nSourcebot is self-hosted, version – 4.6.4\n\n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/gooverdian","@type":"Person","name":"gooverdian"},"datePublished":"2025-08-29T11:38:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/482/sourcebot/issues/482"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:21dc535f-6a5e-110e-54a6-69232cadf6e1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D686:633B1:B43EBF:FD5B01:6A4E85A0 |
| html-safe-nonce | 7cdf27e71c775b369c04a021d468149f7787ceb5ee8f352e8c377c3eceeef08e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjg2OjYzM0IxOkI0M0VCRjpGRDVCMDE6NkE0RTg1QTAiLCJ2aXNpdG9yX2lkIjoiNzU3NzIxODk2MzY1OTk4MjI0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1d87911858b0e7ad23595ca75b8000ed67998529bd7d4cb7fc2f97bb854f8b47 |
| hovercard-subject-tag | issue:3366560463 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/sourcebot-dev/sourcebot/482/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c65b8b5ae67c7887361bacdf69821f43501bcd01a9041563d25e1fdec04474e/sourcebot-dev/sourcebot/issues/482 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c65b8b5ae67c7887361bacdf69821f43501bcd01a9041563d25e1fdec04474e/sourcebot-dev/sourcebot/issues/482 |
| og:image:alt | Describe the bug Trying to navigate to a directory/file with percent symbol in it lead to an SSR fail like this: Url part seem to work ok encoding percent symbol (...@HEAD/-/tree/playbooks/roles%... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gooverdian |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width