patch to allow user-added prefixes and modification to random pad names; correctly process uri-encoded utf-8 characters in pad names and page titles

This commit is contained in:
Wikinaut 2011-11-10 22:37:48 +01:00
parent 5bef51f468
commit bda20a38a4
4 changed files with 29 additions and 15 deletions

View file

@ -172,7 +172,7 @@ function handshake()
socket.once('connect', function()
{
var padId = document.location.pathname.substring(document.location.pathname.lastIndexOf("/") + 1);
padId = unescape(padId); // unescape neccesary due to Safari and Opera interpretation of spaces
padId = decodeURIComponent(padId);
document.title = document.title + " | " + padId;