mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
ensure non url chars are not used for pad names or pad links
This commit is contained in:
parent
e56ef9c26e
commit
b43c7e7c99
2 changed files with 12 additions and 3 deletions
|
@ -52,7 +52,7 @@
|
|||
$(window).load(function ()
|
||||
{
|
||||
//get the padId out of the url
|
||||
var urlParts= document.URL.split("/");
|
||||
var urlParts= document.pathname.split("/");
|
||||
padId = urlParts[urlParts.length-2];
|
||||
|
||||
//set the title
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue