You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: undefined is not a function
at Object.QueryString.escape (querystring.js:101:13)
at Object.makeBaseUrl (/Users/willin/app/node_modules/qiniu/qiniu/rs.js:242:29)
at downloadAction (/Users/willin/app/App/Lib/Controller/Version/LogController.js:44:27)
at /Users/willin/app/node_modules/thinkjs/lib/Lib/Core/App.js:118:30
file at qiniu/qiniu/rs.js
line 243
// query like '-thumbnail', '?imageMogr2/thumbnail/960x' and so on
function makeBaseUrl(domain, key, query) {
key = new Buffer(key);
return 'http://' + domain + '/' + querystring.escape(key) + (query||'');
}
Escape param should be a string.
// query like '-thumbnail', '?imageMogr2/thumbnail/960x' and so on
function makeBaseUrl(domain, key, query) {
//key = new Buffer(key);
return 'http://' + domain + '/' + querystring.escape(key) + (query||'');
}
will be ok.
The text was updated successfully, but these errors were encountered:
Error report
file at
qiniu/qiniu/rs.js
line 243
Escape param should be a string.
will be ok.
The text was updated successfully, but these errors were encountered: