mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 19:06:15 -04:00
Sanitize pad names
This commit is contained in:
parent
ddf1cd345c
commit
e8ef99fb72
5 changed files with 145 additions and 70 deletions
|
@ -65,7 +65,7 @@
|
|||
padId = decodeURIComponent(urlParts[urlParts.length-2]);
|
||||
|
||||
//set the title
|
||||
document.title = document.title + " | " + padId;
|
||||
document.title = document.title + " | " + padId.replace(/_+/g, ' ');
|
||||
|
||||
//ensure we have a token
|
||||
token = readCookie("token");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue