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

Add warning about NULL character on the file #217

Closed
wants to merge 6 commits into from
Closed

Add warning about NULL character on the file #217

wants to merge 6 commits into from

Conversation

validatedev
Copy link
Contributor

No description provided.

@validatedev
Copy link
Contributor Author

Temporary fix of #200

@validatedev
Copy link
Contributor Author

If you really want to remove the null chars on the file button on warning dialog, I’ll try to do it but that solution gives more sense then you said to me.

@validatedev
Copy link
Contributor Author

@Jasonstein could you take a look at it, saying that as a precaution about that I don't know if you see it.

@0x7c13
Copy link
Owner

0x7c13 commented Oct 11, 2019

This is not the best place to call the dialog and the method should returns error and handled in main view. Other than that I still prefer not to have it at all but warn user instead. Something like "your file has null character, only content before the null character is showing" and it should be a notification instead of dialog and we do nothing in this case. Once we gather feedback from user, as well as metrics event. We can decide what to do next. Let me think about it and I can do it myself. Still, thx for the PR!

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.

2 participants