replace not only one wildcard and replace % too

This commit is contained in:
webzwo0i 2017-04-15 21:18:10 +02:00
parent d87cc90438
commit 8786903230

View file

@ -21,7 +21,7 @@ var ERR = require("async-stacktrace");
exports.getPadRaw = function(padId, callback){ exports.getPadRaw = function(padId, callback){
padId=padId.replace('*','') padId=padId.replace(/[\*%]/g,'')
async.waterfall([ async.waterfall([
function(cb){ function(cb){