Skip to content
Snippets Groups Projects
Commit 4b2c0883 authored by Richard Alam's avatar Richard Alam
Browse files

Merge pull request #393 from SenecaCDOT-BigBlueButton/fix-hieroglyphics-audio

replace deprecated escape() with encodeURIComponent()
parents dacbad24 2c6b060b
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ function createUA(username, server) {
// VERY IMPORTANT - You must escape the username because spaces will cause the connection to fail
var configuration = {
uri: 'sip:' + escape(username) + '@' + server,
uri: 'sip:' + encodeURIComponent(username) + '@' + server,
wsServers: 'ws://' + server + ':5066',
displayName: username,
register: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment