@cloudant/couchbackup 2.8.1-SNAPSHOT.64 → 2.8.2-SNAPSHOT.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.secrets.baseline +12 -3
- package/CHANGES.md +3 -0
- package/includes/request.js +2 -2
- package/package.json +1 -1
package/.secrets.baseline
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"files": "package-lock.json|test/fixtures|^.secrets.baseline$",
|
|
4
4
|
"lines": null
|
|
5
5
|
},
|
|
6
|
-
"generated_at": "2021-
|
|
6
|
+
"generated_at": "2021-12-01T16:14:03Z",
|
|
7
7
|
"plugins_used": [
|
|
8
8
|
{
|
|
9
9
|
"name": "AWSKeyDetector"
|
|
@@ -79,8 +79,7 @@
|
|
|
79
79
|
"results": {
|
|
80
80
|
"Jenkinsfile": [
|
|
81
81
|
{
|
|
82
|
-
"hashed_secret": "
|
|
83
|
-
"is_secret": false,
|
|
82
|
+
"hashed_secret": "8e494667a94be484abba2c4d4cf9bea0c3eb39ea",
|
|
84
83
|
"is_verified": false,
|
|
85
84
|
"line_number": 149,
|
|
86
85
|
"type": "NPM tokens",
|
|
@@ -212,6 +211,16 @@
|
|
|
212
211
|
"type": "Basic Auth Credentials",
|
|
213
212
|
"verified_result": null
|
|
214
213
|
}
|
|
214
|
+
],
|
|
215
|
+
"test/request.js": [
|
|
216
|
+
{
|
|
217
|
+
"hashed_secret": "41a269ae4f24dab3ddf96b401f1ada5dfdfc5f08",
|
|
218
|
+
"is_secret": false,
|
|
219
|
+
"is_verified": false,
|
|
220
|
+
"line_number": 226,
|
|
221
|
+
"type": "Secret Keyword",
|
|
222
|
+
"verified_result": null
|
|
223
|
+
}
|
|
215
224
|
]
|
|
216
225
|
},
|
|
217
226
|
"version": "0.13.1+ibm.46.dss",
|
package/CHANGES.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
# 2.8.1 (2021-12-02)
|
|
2
|
+
- [FIXED] Regression from version 2.7 resulting in incorrect handling of percent-encoded credentials in the URL user-info.
|
|
3
|
+
|
|
1
4
|
# 2.8.0 (2021-11-25)
|
|
2
5
|
- [FIXED] Corrected `user-agent` header on requests.
|
|
3
6
|
- [FIXED] Restore of shallow backups created with versions <=2.4.2.
|
package/includes/request.js
CHANGED
|
@@ -122,8 +122,8 @@ module.exports = {
|
|
|
122
122
|
authenticator = new IamAuthenticator(iamAuthOpts);
|
|
123
123
|
} else if (url.username) {
|
|
124
124
|
authenticator = new CouchdbSessionAuthenticator({
|
|
125
|
-
username: url.username,
|
|
126
|
-
password: url.password
|
|
125
|
+
username: decodeURIComponent(url.username),
|
|
126
|
+
password: decodeURIComponent(url.password)
|
|
127
127
|
});
|
|
128
128
|
} else {
|
|
129
129
|
authenticator = new NoAuthAuthenticator();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudant/couchbackup",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.2-SNAPSHOT.70",
|
|
4
4
|
"description": "CouchBackup - command-line backup utility for Cloudant/CouchDB",
|
|
5
5
|
"homepage": "https://github.com/cloudant/couchbackup",
|
|
6
6
|
"repository": "https://github.com/cloudant/couchbackup.git",
|