replace not only one wildcard and replace % too
parent
d87cc90438
commit
8786903230
|
@ -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){
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue