replace not only one wildcard and replace % too

fix/export-wildcards
webzwo0i 2017-04-15 21:18:10 +02:00
parent d87cc90438
commit 8786903230
1 changed files with 1 additions and 1 deletions

View File

@ -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){