-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert the signature/certificate fields are unicode
This checks the certificate and signature fields in messages to ensure they're text. If they're not, an error is logged and we do our best to decode the message as UTF-8. This decoding is a short-term measure until the users of the APIs have been hunted down and fixed. This is a cherry-pick from #456 Signed-off-by: Jeremy Cline <jeremy@jcline.org>
- Loading branch information
1 parent
8b2028f
commit a8a485d
Showing
3 changed files
with
104 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters