imbrianj / switchBoard

Control of Internet connected devices within a given network via web interface.
MIT License
201 stars 53 forks source link

Unable to encode 0xc8 for authentication #1

Closed imbrianj closed 10 years ago

imbrianj commented 10 years ago

Line 51 - String.fromCharCode(0xc8) appears to be returning 195 instead of the expected 200. Seems there are issues with bytes above 128 that I've not experienced before. Unsure of work-around.

imbrianj commented 10 years ago

Was able to omit chunk2 from a different device and was still prompted for authentication on the TV. Speculating that this is maybe not required. Will remove from code and continue testing - may need to revert that part and continue looking if it proves to be necessary.