mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 02:46:15 -04:00
replace not only one wildcard and replace % too
This commit is contained in:
parent
d87cc90438
commit
8786903230
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue