mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 22:57:11 -04:00
fix for issue 461 : pad.js : use decodeURIComponent(userName) - instead of unescape(userName) - to allow UTF-8 encoded parameter username
This commit is contained in:
parent
b775e06c53
commit
1caaff9308
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function getParams()
|
||||||
if(userName)
|
if(userName)
|
||||||
{
|
{
|
||||||
// If the username is set as a parameter we should set a global value that we can call once we have initiated the pad.
|
// If the username is set as a parameter we should set a global value that we can call once we have initiated the pad.
|
||||||
settings.globalUserName = unescape(userName);
|
settings.globalUserName = decodeURIComponent(userName);
|
||||||
}
|
}
|
||||||
if(hideQRCode)
|
if(hideQRCode)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue