René's URL Explorer Experiment


Title: fix(table): escape LIKE wildcards in $contains filter values by lawrence3699 · Pull Request #3949 · simstudioai/sim · GitHub

Open Graph Title: fix(table): escape LIKE wildcards in $contains filter values by lawrence3699 · Pull Request #3949 · simstudioai/sim

X Title: fix(table): escape LIKE wildcards in $contains filter values by lawrence3699 · Pull Request #3949 · simstudioai/sim

Description: Summary The $contains filter operator in the table query builder (buildContainsClause) interpolates user-provided values directly into an ILIKE pattern without escaping LIKE wildcard characters (%, _, \). This causes the filter to return incorrect, over-broad results when the search value contains these characters: { name: { $contains: "100%" } } matches any row where name contains "100" followed by anything — not just the literal string "100%" { name: { $contains: "user_name" } } matches "username", "user name", "userXname", etc. — because _ matches any single character in LIKE Fix Escape %, _, and \ in the value before interpolating into the ILIKE pattern, so they are treated as literal characters. PostgreSQL uses \ as the default LIKE escape character. Test plan Existing $contains tests in sql.test.ts continue to pass (values without wildcards are unaffected) Verify that $contains: "100%" matches only rows containing the literal string "100%", not "100abc" Verify that $contains: "a_b" matches only rows containing the literal string "a_b", not "axb"

Open Graph Description: Summary The $contains filter operator in the table query builder (buildContainsClause) interpolates user-provided values directly into an ILIKE pattern without escaping LIKE wildcard characters (%,...

X Description: Summary The $contains filter operator in the table query builder (buildContainsClause) interpolates user-provided values directly into an ILIKE pattern without escaping LIKE wildcard characters (%,...

Opengraph URL: https://github.com/simstudioai/sim/pull/3949

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:92b10a60-967f-da51-9957-3ec68a9a24c6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBE18:2833F1:C55CC5:10E8891:6AFB56A4
html-safe-nonce24e8d8db432719487d9f6e3dc5d96f636ce3b9a068d22cc8ff99c0e23e3fc9bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTE4OjI4MzNGMTpDNTVDQzU6MTBFODg5MTo2QUZCNTZBNCIsInZpc2l0b3JfaWQiOiIxNzE2OTczOTA0OTEzNDU0NzU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd16dfd0c2a46057634b74645f9e9cfd4e423d32db80b84ceb8f24e8117eace15
hovercard-subject-tagpull_request:3489593519
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/simstudioai/sim/pull/3949/files
twitter:imagehttps://avatars.githubusercontent.com/u/247479654?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/247479654?s=400&v=4
og:image:altSummary The $contains filter operator in the table query builder (buildContainsClause) interpolates user-provided values directly into an ILIKE pattern without escaping LIKE wildcard characters (%,...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/3949/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3949%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%2Fsimstudioai%2Fsim%2Fpull%2F3949%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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/3949/files
Reloadhttps://github.com/simstudioai/sim/pull/3949/files
Reloadhttps://github.com/simstudioai/sim/pull/3949/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
simstudioai:staginghttps://github.com/simstudioai/sim/tree/staging
lawrence3699:fix/escape-like-wildcards-in-contains-filterhttps://github.com/lawrence3699/sim/tree/fix/escape-like-wildcards-in-contains-filter
Conversation 10 https://github.com/simstudioai/sim/pull/3949
Commits 3 https://github.com/simstudioai/sim/pull/3949/commits
Checks 11 https://github.com/simstudioai/sim/pull/3949/checks
Files changed https://github.com/simstudioai/sim/pull/3949/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3949/files
fix(table): escape LIKE wildcards in $contains filter values https://github.com/simstudioai/sim/pull/3949/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/3949/files
0b9019d v0.6.23: MCP fixes, remove local state in favor of server state, moth… waleedlatif1 Apr 4, 2026 https://github.com/simstudioai/sim/pull/3949/commits/0b9019d9a23c1de953431169cb82fb1188d81852
a54dcbe v0.6.24: copilot feedback wiring, captcha fixes waleedlatif1 Apr 4, 2026 https://github.com/simstudioai/sim/pull/3949/commits/a54dcbe949ffac7462dcde67286ac37a10a164c1
b1790f3 fix(table): escape LIKE wildcards in $contains filter values lawrence3699 Apr 4, 2026 https://github.com/simstudioai/sim/pull/3949/commits/b1790f351863971f1f4933779814c77c9748861a
Clear filters https://github.com/simstudioai/sim/pull/3949/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3949/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3949/files
apps/sim/lib/table/sql.tshttps://github.com/simstudioai/sim/pull/3949/files#diff-6bdc8e3314777d023d081101b83c0458072aef721da07cf8b8881fd5d0fab5b3
View file https://github.com/lawrence3699/sim/blob/b1790f351863971f1f4933779814c77c9748861a/apps/sim/lib/table/sql.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3949/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3949/files#diff-6bdc8e3314777d023d081101b83c0458072aef721da07cf8b8881fd5d0fab5b3
cursorhttps://github.com/apps/cursor
Apr 4, 2026https://github.com/simstudioai/sim/pull/3949/files#r3036144064
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#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b25LZXkiOiJDQnFaZzRKVmRiVEQ3QXRjN3phVWJ5bWRXSTJIcExJZVM0S29EY25KYk9BIiwiYnJhbmNoIjoiZml4L2VzY2FwZS1saWtlLXdpbGRjYXJkcy1pbi1jb250YWlucy1maWx0ZXIiLCJyZXBvT3duZXIiOiJzaW1zdHVkaW9haSIsInJlcG9OYW1lIjoic2ltIiwicHJOdW1iZXIiOjM5NDksImNvbW1pdFNoYSI6ImIxNzkwZjM1MTg2Mzk3MWYxZjQ5MzM3Nzk4MTRjNzdjOTc0ODg2MWEiLCJwcm92aWRlciI6ImdpdGh1YiJ9LCJpYXQiOjE3NzUzNDMyNzgsImV4cCI6MTc3NzkzNTI3OH0.ai4J9nLKXzYXvRCq4AJch-CyqEiGtpDMlNOP5PjirOghkwwkUvdy0TDk3iTtyTS13k4oN8HBtOaPV2qxekmzc32cRN9EyhfR1xD5fSawEqMYwEEnSLtn2s1TdGAPjj5i7erO6y9qKQkyZ2Bq-3qhaGwQkIihPmiDgihOe3JezJ3WS97AIUlvQPp3ZZR2ZLoJoiIX3ezl7cfTvilVog9Xau7XbqCPY_b1KvI-XspMo2EXctHT3kJGVjwJaXZOaao_2T5VsrV_mxNt2lhYQo9Rwg8tXTtThecIICzSDgWmzZkMBvxDaCme4R00M5ZiDUd-v2tVvYG7SXWKChkoNPXa0Q
Cursor Bugbothttps://cursor.com/bugbot
b1790f3https://github.com/simstudioai/sim/commit/b1790f351863971f1f4933779814c77c9748861a
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/3949/files
greptile-appshttps://github.com/apps/greptile-apps
Apr 4, 2026https://github.com/simstudioai/sim/pull/3949/files#r3036144426
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/simstudioai/sim/pull/3949/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3949/files
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 4, 2026https://github.com/simstudioai/sim/pull/3949/files#r3036143653
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/simstudioai/sim/pull/3949/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 4, 2026https://github.com/simstudioai/sim/pull/3949/files#r3036143660
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/simstudioai/sim/pull/3949/files
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://github.com/simstudioai/sim/pull/3949/files#diff-6bdc8e3314777d023d081101b83c0458072aef721da07cf8b8881fd5d0fab5b3
Please reload this pagehttps://github.com/simstudioai/sim/pull/3949/files
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.