Skip to content

Route trailing "web" in a query to the Web framework#397

Merged
eugenia-scandit merged 1 commit into
mainfrom
route-search-recover-trailing-web
Jul 17, 2026
Merged

Route trailing "web" in a query to the Web framework#397
eugenia-scandit merged 1 commit into
mainfrom
route-search-recover-trailing-web

Conversation

@eugenia-scandit

Copy link
Copy Markdown
Collaborator

Follow-up to the framework/version routing: bare "web" was only treated as a framework signal with an explicit cue ("web sdk", "on/for/in/using web") to avoid "web view"/"web socket" hijacking. That left common queries like "barcode capture web" / "symbologies web" / "matrixscan web" unrouted.

Also treat "web" as a framework signal when it's the last word of the query (\bweb\s*$ against the space-padded query). "barcode capture web" now routes to Web, while mid-query "web view" / "web socket" / "webhook" still do not.

Follow-up to the framework/version routing: bare "web" was only treated as a
framework signal with an explicit cue ("web sdk", "on/for/in/using web") to
avoid "web view"/"web socket" hijacking. That left common queries like
"barcode capture web" / "symbologies web" / "matrixscan web" unrouted.

Also treat "web" as a framework signal when it's the last word of the query
(\bweb\s*$ against the space-padded query). "barcode capture web" now routes
to Web, while mid-query "web view" / "web socket" / "webhook" still do not.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@eugenia-scandit
eugenia-scandit merged commit 9a608ae into main Jul 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants