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

The non-UTF8 character check excludes valid UTF8 characters #179

Open
zbalkan opened this issue Sep 26, 2024 · 0 comments · May be fixed by #180
Open

The non-UTF8 character check excludes valid UTF8 characters #179

zbalkan opened this issue Sep 26, 2024 · 0 comments · May be fixed by #180
Labels
level/task Task issue reporter/community Issue reported by the community type/enhancement Enhancement issue

Comments

@zbalkan
Copy link
Contributor

zbalkan commented Sep 26, 2024

Wazuh version Component Install type Install method Platform
4.7.5> Wazuh agent Agent N/A N/A

Summary

This is a continuation of issue wazuh/wazuh#23354, about the fix PR wazuh/wazuh#23543.

After the fix, the agent, unfortunately, does an ASCII character check instead of UTF-8 check. Therefore, when there are characters like Ü, ü, Õ, õ, Ö, ö, Ä, ä, Ş, ş, Ç, ç, etc., in the path of the files, the FIM ignores them as not valid UTF-8 while they are valid UTF-8 characters. These are valid UTF-8 characters and I believe the nlohmann library would accept these as well.

@gdiazlo gdiazlo added reporter/community Issue reported by the community level/task Task issue type/enhancement Enhancement issue labels Oct 14, 2024
@vikman90 vikman90 linked a pull request Oct 14, 2024 that will close this issue
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue reporter/community Issue reported by the community type/enhancement Enhancement issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants