microsoft / Cognitive-SpeakerRecognition-Windows

Windows SDK for the Microsoft Speaker Recognition API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/speaker-recognition-api
Other
60 stars 62 forks source link

Fixed Boundary Error #10

Open brminnick opened 6 years ago

brminnick commented 6 years ago

Whitespace, " ", is not a valid boundary character.

"Upload----" + DateTime.Now.ToString("u")" produces this string, which includes a space:

Upload----2018-03-23 02:10:58Z

Added .Replace(" ", "") to remove any whitespace from the boundry string.

https://tools.ietf.org/html/rfc2046#page-13