sipml5 icon indicating copy to clipboard operation
sipml5 copied to clipboard

When Unicode characters are received, the message being passed is null

Open pradsin opened this issue 7 years ago • 1 comments

I noticed that it Unicode characters are passed the event raised by sipml passed empty message. Though the websocket frame shows the exact message.

Here are test strigs

"!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^`abcdefghijklmnopqrstuvwxyz{|}~"cª«¬-r_°±²3'µ·,1º»¼½¿AAAAÄÅÆÇEÉEEIIIIDÑOOOOÖxOUUUÜY_ßàáâaäåæçèéêëìíîïdñòóôoö÷oùúûüy"

"दैनिक जागरण"

pradsin avatar Dec 23 '17 13:12 pradsin

Stack Trace

chat.js:158 Uncaught TypeError: Cannot read property 'replace' of null at Object.message (chat.js:158) at SIPml.Stack.listener (chat.js:246) at SIPml.Stack.SIPml.EventTarget.dispatchEvent (Sipml-api.js:1) at tsip_stack.o_stack.on_event_message (Sipml-api.js:1) at Sipml-api.js:1

image

pradsin avatar Dec 23 '17 13:12 pradsin