René's URL Explorer Experiment


Title: [bug] Ask cannot handle files with special characters · Issue #771 · sourcebot-dev/sourcebot · GitHub

Open Graph Title: [bug] Ask cannot handle files with special characters · Issue #771 · sourcebot-dev/sourcebot

X Title: [bug] Ask cannot handle files with special characters · Issue #771 · sourcebot-dev/sourcebot

Description: Describe the bug Say you have a file named: (pr that you want to find. You can search for this with Sourcebot via the query file:"\(pr". If you Ask Sourcebot about it, it will try a number of things, all of which either result in query f...

Open Graph Description: Describe the bug Say you have a file named: (pr that you want to find. You can search for this with Sourcebot via the query file:"\(pr". If you Ask Sourcebot about it, it will try a number of thing...

X Description: Describe the bug Say you have a file named: (pr that you want to find. You can search for this with Sourcebot via the query file:"\(pr". If you Ask Sourcebot about it, it will try a numbe...

Opengraph URL: https://github.com/sourcebot-dev/sourcebot/issues/771

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[bug] Ask cannot handle files with special characters","articleBody":"### Describe the bug\n\nSay you have a file named: `(pr` that you want to find. You can search for this with Sourcebot via the query `file:\"\\(pr\"`.\n\nIf you Ask Sourcebot about it, it will try a number of things, all of which either result in query failure or returning incorrect results.\n\nQuery: `find me file:\"\\(pr\"`\n\n\u003cdetails\u003e\u003csummary\u003eGPT-5-nano Response\u003c/summary\u003e\n\n1. Searched for `\\(pr`\nFailed with the following error: `Failed to parse query \"\\(pr reposet:gitlab/example-repo\" with message: No parse at 65`\n\n2. Searched for `\\(pr ( repo:gitlab/example-repo )`\nFailed with the following error: `Failed to parse query \"\\(pr reposet:gitlab/example-repo ( repo:gitlab/example-repo )\" with message: No parse at 127`\n\n3. Searched for `pr ( repo:gitlab/example-repo )`\nReturned src/app/routes/endpoint.py\n\u003c/details\u003e\n\n\n\u003cdetails\u003e\u003csummary\u003eGPT-5-mini Response\u003c/summary\u003e\n\n1. I'll search the repository for files containing the literal substring \"(pr\" using the code search tool to locate all matches. This helps find files that include that pattern (likely a regex or string with an escaped parenthesis). I'll search only the selected repository.\nSearched for `\\\\(pr ( repo:gitlab/example-repo )`\nFailed with the following error: `Failed to parse query \"\\\\(pr reposet:gitlab/example-repo ( repo:gitlab/example-repo )\" with message: No parse at 128`\n\n2. Searched for `\"\\\\(pr\" ( repo:gitlab/example-repo )`\nFailed with the following error: `Unexpected error: An unexpected error occurred. Please try again later.`\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eAnthropic Claude Haiku 4.5\u003c/summary\u003e\n\n1. The user is asking me to find files with a pattern \"\\(pr\". This seems to be a search for code that contains this literal string pattern - likely a regex or string pattern in code.\u003cbr\u003e\u003cbr\u003eLet me use the searchCode function to find this pattern. The user wants to search for the literal string \"\\(pr\" which appears to be a regex or escape sequence pattern.\u003cbr\u003e\u003cbr\u003eSince this is a regex search, I should search for files that contain this pattern. The user's query is \"\\(pr\" which I should escape properly for a regex search.\u003cbr\u003e\u003cbr\u003eLet me search for this code pattern.\u003cbr\u003e\"Search code\" tool call failed\n\n2. Searched for `\\\\\"\\(pr ( repo:example-repo )`\nFailed with the following error: `Failed to parse query \"\\\\\"\\(pr reposet:gitlab/example-repo ( repo:example-repo )\" with message: No parse at 90`\n\n3. Let me try a simpler regex pattern:\nSearched for `\\(pr ( repo:example-repo )`\nFailed with the following error: `Failed to parse query \"\\(pr reposet:gitlab/example-repo ( repo:example-repo )\" with message: No parse at 87`\n\n4. Let me try searching for just \"pr\" pattern:\nSearched for `pr ( repo:example-repo )`\nsrc/app/routes/endpoint.py\n\u003c/details\u003e\n\n### To reproduce\n\nUse Sourcebot's Ask tool about files with strange names, such as `(pr`.\n\n### Sourcebot deployment information\n\nSourcebot version: v4.10.13\n\n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/marshallwp","@type":"Person","name":"marshallwp"},"datePublished":"2026-01-21T20:13:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/771/sourcebot/issues/771"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f06db9b0-19c3-b540-be81-7aeb08798531
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC618:141FAF:365F2D:4C3341:6A4E6B2A
html-safe-nonce8c971acf08512500bdead25faecb621a377891a0927c385b24b5b1d896dd30c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjE4OjE0MUZBRjozNjVGMkQ6NEMzMzQxOjZBNEU2QjJBIiwidmlzaXRvcl9pZCI6IjI4Njc3OTY4NDEyNDM1MDM0MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2f8070758751617d6c7a0801cbc7d4c73848995735f520fb9cb5b6d5d2726649
hovercard-subject-tagissue:3839854143
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sourcebot-dev/sourcebot/771/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b76ca443f7730023a09e4ecba5c56226322f67abeac23f02a112eb7b8c7a6c77/sourcebot-dev/sourcebot/issues/771
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b76ca443f7730023a09e4ecba5c56226322f67abeac23f02a112eb7b8c7a6c77/sourcebot-dev/sourcebot/issues/771
og:image:altDescribe the bug Say you have a file named: (pr that you want to find. You can search for this with Sourcebot via the query file:"\(pr". If you Ask Sourcebot about it, it will try a number of thing...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarshallwp
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
go-importgithub.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git
octolytics-dimension-user_id135396723
octolytics-dimension-user_loginsourcebot-dev
octolytics-dimension-repository_id846729675
octolytics-dimension-repository_nwosourcebot-dev/sourcebot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id846729675
octolytics-dimension-repository_network_root_nwosourcebot-dev/sourcebot
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcebot-dev/sourcebot/issues/771#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fissues%2F771
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fissues%2F771
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=sourcebot-dev%2Fsourcebot
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/771
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/771
Reloadhttps://github.com/sourcebot-dev/sourcebot/issues/771
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/issues/771
sourcebot-dev https://github.com/sourcebot-dev
sourcebothttps://github.com/sourcebot-dev/sourcebot
Notifications https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Fork 317 https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Star 3.6k https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Code https://github.com/sourcebot-dev/sourcebot
Issues 92 https://github.com/sourcebot-dev/sourcebot/issues
Pull requests 37 https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality 0 https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
Code https://github.com/sourcebot-dev/sourcebot
Issues https://github.com/sourcebot-dev/sourcebot/issues
Pull requests https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
#788https://github.com/sourcebot-dev/sourcebot/pull/788
[bug] Ask cannot handle files with special charactershttps://github.com/sourcebot-dev/sourcebot/issues/771#top
#788https://github.com/sourcebot-dev/sourcebot/pull/788
https://github.com/msukkari
bugSomething isn't workinghttps://github.com/sourcebot-dev/sourcebot/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/marshallwp
marshallwphttps://github.com/marshallwp
on Jan 21, 2026https://github.com/sourcebot-dev/sourcebot/issues/771#issue-3839854143
msukkarihttps://github.com/msukkari
bugSomething isn't workinghttps://github.com/sourcebot-dev/sourcebot/issues?q=state%3Aopen%20label%3A%22bug%22
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.