From 8786903230de54876fcb91e55b439664ee4f15b2 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Sat, 15 Apr 2017 21:18:10 +0200 Subject: [PATCH] replace not only one wildcard and replace % too --- src/node/utils/ExportEtherpad.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/ExportEtherpad.js b/src/node/utils/ExportEtherpad.js index 1d0990ef1..79552db9c 100644 --- a/src/node/utils/ExportEtherpad.js +++ b/src/node/utils/ExportEtherpad.js @@ -21,7 +21,7 @@ var ERR = require("async-stacktrace"); exports.getPadRaw = function(padId, callback){ - padId=padId.replace('*','') + padId=padId.replace(/[\*%]/g,'') async.waterfall([ function(cb){