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

Update isValidUTF8 function with further validation #3016

Merged
merged 5 commits into from
Nov 29, 2024
Merged

Conversation

abraunegg
Copy link
Owner

  • Update isValidUTF8 function to use 'validate' rather than individual character checking. The isValidUTF8 is only used to check a UTC timestamp in isValidUTCDateTime
  • Enhance isValidUTF8 to check for empty strings, length constraints of UTC timestamps
  • Add further logging in the event UTC validation fails

* Update isValidUTF8 function to use 'validate' rather than individual character checking. The isValidUTF8 is only used to check a UTC timestamp in isValidUTCDateTime
* Enhance isValidUTF8 to check for empty strings, length constraints of UTC timestamps
* Add further logging in the event UTC validation fails
@abraunegg abraunegg added this to the v2.5.4 milestone Nov 27, 2024
src/util.d Fixed Show fixed Hide fixed

This comment has been minimized.

This comment has been minimized.

* Add FFFD
@abraunegg abraunegg merged commit f7af328 into master Nov 29, 2024
10 checks passed
@abraunegg abraunegg deleted the fix-issue-3014 branch November 29, 2024 21:21
@abraunegg abraunegg linked an issue Nov 29, 2024 that may be closed by this pull request
@abraunegg
Copy link
Owner Author

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Repository owner locked and limited conversation to collaborators Dec 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Invalid UTF-8 sequence error
1 participant