diff options
author | fcassin <francois.cassin@gmail.com> | 2015-11-10 15:50:40 +0100 |
---|---|---|
committer | fcassin <francois.cassin@gmail.com> | 2015-11-10 15:50:40 +0100 |
commit | f2836125dc887bf02c1c42231b670d4493a7f2ab (patch) | |
tree | 6ea29a227f3dd8f106826f47f1f44ac036a0176a /src/node/hooks | |
parent | a09044a6f3fa610d23b45dbcef675ee4b6b6395b (diff) | |
parent | f774c2584f9d2a6c69ddad065b688dca2be7aaa6 (diff) | |
download | etherpad-lite-f2836125dc887bf02c1c42231b670d4493a7f2ab.zip |
Merge pull request #1 from ether/develop
Update to most recent etherpad-lite version
Diffstat (limited to 'src/node/hooks')
-rw-r--r-- | src/node/hooks/express/padurlsanitize.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/hooks/express/padurlsanitize.js b/src/node/hooks/express/padurlsanitize.js index 94cbe36a..a9972220 100644 --- a/src/node/hooks/express/padurlsanitize.js +++ b/src/node/hooks/express/padurlsanitize.js @@ -16,6 +16,7 @@ exports.expressCreateServer = function (hook_name, args, cb) { if(sanitizedPadId != padId) { var real_url = sanitizedPadId; + real_url = encodeURIComponent(real_url); var query = url.parse(req.url).query; if ( query ) real_url += '?' + query; res.header('Location', real_url); |