-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
T: potential bugType: potential bug. This issue may be a bugType: potential bug. This issue may be a bugtopic: APIThis issue involves API usageThis issue involves API usage
Description
Actual behavior
Creating a text or yara attribute whose value contains the sequence && succeeds, but searching by value fails in both the UI and the /attributes/restSearch API.
Example payload: {"value": "Hello &&", "type": "text"}
Expected behavior
Searching for the literal string "Hello &&" should return the attribute.
Steps to reproduce
Create any attribute containing "&&". Ex: {"value": "Hello &&","type":"text"}
Search for the attribute: Ex. {"value": "Hello &&","type":"text"}
Using only one "&" works. ex. "Hello &"
Version
2.4.195
Operating System
Ubuntu
Operating System version
20.04
PHP version
8?
Browser
Chrome
Browser version
No response
Relevant log output
Extra attachments
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
T: potential bugType: potential bug. This issue may be a bugType: potential bug. This issue may be a bugtopic: APIThis issue involves API usageThis issue involves API usage