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

Allow escaping of literal || in tag delete #118

Open
tnajdek opened this issue Feb 22, 2022 · 0 comments · May be fixed by #143
Open

Allow escaping of literal || in tag delete #118

tnajdek opened this issue Feb 22, 2022 · 0 comments · May be fixed by #143

Comments

@tnajdek
Copy link
Member

tnajdek commented Feb 22, 2022

Currently not possible to delete a tag called a || b. If someone attempts it in current web library, it will incorrectly delete two tags: a and b, if such tags exist.

Possible duplicate of #112 but more serious.

@tnajdek tnajdek changed the title Allow escaping of literal || in tag delete Allow escaping of literal || in tag delete Feb 22, 2022
@abaevbog abaevbog linked a pull request Jun 13, 2023 that will close this issue
@abaevbog abaevbog linked a pull request Jun 13, 2023 that will close this issue
abaevbog added a commit to abaevbog/dataserver that referenced this issue Jun 14, 2023
Replace \|| with || during arguments parsing. If an item is tagged 'This is something || Or other', to get items with this tag or delete this tag, || can be escaped like this tags='This is something \|| Or other'.
Fixes: zotero#118
Fixes: zotero#112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant