We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f55b641 commit 9270943Copy full SHA for 9270943
qiniu/util.js
@@ -44,8 +44,8 @@ exports.generateAccessToken = function(uri, body) {
44
return 'QBox ' + conf.ACCESS_KEY + ':' + safeDigest;
45
}
46
47
-function isQiniuCallback(path, body, auth) {
+function isQiniuCallback(path, body, callbackAuth) {
48
49
- var auth1 = exports.generateAccessToken(path, body)
50
- return auth === auth1;
+ var auth = exports.generateAccessToken(path, body)
+ return auth === callbackAuth;
51
0 commit comments