Commit 2352e921 authored by 神楽坂玲奈's avatar 神楽坂玲奈

decode

parent 39e683ea
......@@ -25,8 +25,8 @@ url = $.url 'mycard:/' + matched[0]
room = _.string.ltrim(url.attr('path'), '/').split('$')
room = {
name: room[0]
password: room[1]
name: decodeURIComponent room[0]
password: decodeURIComponent room[1]
private: url.param('private')
server: {
ip: url.attr('host')
......
......@@ -35,8 +35,8 @@
room = _.string.ltrim(url.attr('path'), '/').split('$');
room = {
name: room[0],
password: room[1],
name: decodeURIComponent(room[0]),
password: decodeURIComponent(room[1]),
"private": url.param('private'),
server: {
ip: url.attr('host'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment