Skip to content
Permalink
Browse files

Fixes #13. Adds double quotes to the user given display_name value be…

…fore checking it

(allows multibyte symbols).
  • Loading branch information
ibc committed Nov 12, 2012
1 parent ffe7af6 commit aa512913733a4f63af066b0a9e12a8e38f2a5acb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/UA.js
@@ -815,7 +815,7 @@ JsSIP.UA.configuration_check = {
}
},
display_name: function(display_name) {
if(JsSIP.grammar.parse(display_name, 'display_name') === -1) {
if(JsSIP.grammar.parse('"' + display_name + '"', 'display_name') === -1) {
return false;
} else {
return true;

0 comments on commit aa51291

Please sign in to comment.
You can’t perform that action at this time.