Skip to content

fix: handle filenames with multiple quote types#44

Open
trek-e wants to merge 1 commit intoDarklyter:mainfrom
trek-e:fix-issue-15
Open

fix: handle filenames with multiple quote types#44
trek-e wants to merge 1 commit intoDarklyter:mainfrom
trek-e:fix-issue-15

Conversation

@trek-e
Copy link
Copy Markdown

@trek-e trek-e commented Jan 24, 2026

Summary

Fixes #15

The INCLUDES query template had extra wrapper quotes around the filename placeholder, causing searches to look for "filename" (with literal quotes) instead of just filename. This broke matching for files with mixed quote types (apostrophes and double quotes).

Changes

Removed the wrapper \" quotes from the INCLUDES query to match how the EQUALS query works.

Simulation

OLD search value: "AB-123 There's..."  → Matches path? False
NEW search value: AB-123 There's...    → Matches path? True

🤖 Generated with Claude Code

Fixes Darklyter#15

The INCLUDES query template had extra wrapper quotes around the filename
placeholder, causing searches to look for `"filename"` (with literal quotes)
instead of just `filename`. This broke matching for files with mixed quote
types (apostrophes and double quotes).

Removed the wrapper `\"` quotes from the INCLUDES query to match how the
EQUALS query works.
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.

StashPlexAgent fails to match titles with multiple types of quotation marks.

1 participant