Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SearchTerm: properly encode tags #9

Open
frasertweedale opened this issue Jul 27, 2017 · 0 comments
Open

SearchTerm: properly encode tags #9

frasertweedale opened this issue Jul 27, 2017 · 0 comments

Comments

@frasertweedale
Copy link
Member

String (or Text) is the correct type for tags (e.g. spaces are allowed) but they must be
properly encoded in the query string or notmuch will interpret it as multiple subterms.

The correct encoding is to utf-8 encode, then hex-encode all non-printable characters,
as well as SPACE and DOUBLEQUOTE.

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

No branches or pull requests

1 participant