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

Remove null characters in any string passed to the container / debug task #997

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

benoit74
Copy link
Collaborator

@benoit74 benoit74 commented Jul 22, 2024

Rationale

Fix #955

Changes

  • all strings passed to container and debug task properties have \u0000 character removed ; for now, other control characters are kept since they do not pose a problem from DB perspective (see Remove all control characters in task properties #998 for the potential next step)

Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.23%. Comparing base (27208b2) to head (cf55011).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #997      +/-   ##
==========================================
+ Coverage   88.14%   88.23%   +0.09%     
==========================================
  Files          94       95       +1     
  Lines        5312     5329      +17     
==========================================
+ Hits         4682     4702      +20     
+ Misses        630      627       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@benoit74 benoit74 marked this pull request as ready for review July 22, 2024 09:22
@benoit74 benoit74 requested a review from rgaudin July 22, 2024 09:23
@benoit74 benoit74 merged commit 6e29dc8 into main Jul 23, 2024
5 checks passed
@benoit74 benoit74 deleted the remove_null_chars branch July 23, 2024 10:29
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

Successfully merging this pull request may close these issues.

Again \u0000 cannot be converted to text
2 participants