Skip to content

Commit aa51291

Browse files
committed
Fixes #13. Adds double quotes to the user given display_name value before checking it
(allows multibyte symbols).
1 parent ffe7af6 commit aa51291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UA.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ JsSIP.UA.configuration_check = {
815815
}
816816
},
817817
display_name: function(display_name) {
818-
if(JsSIP.grammar.parse(display_name, 'display_name') === -1) {
818+
if(JsSIP.grammar.parse('"' + display_name + '"', 'display_name') === -1) {
819819
return false;
820820
} else {
821821
return true;

0 commit comments

Comments
 (0)