Skip to content

Commit f7b4eed

Browse files
authored
COMPASS-830: Resolve SSL and Atlas issues (#811)
* Drop clipboard override Blur one is still useful if the user types in *.mongodb.net manually. It duplicates a soon to be unnecessary check: mongodb-js/connection-model@0588d35 * ⬆️ [email protected] npm i --upgrade mongodb-connection-model --save * ⬆️ [email protected] npm i --upgrade mongodb-data-service --save Needed to resolve COMPASS-830 as we'd like to bust any caches that may exist (node_modules), and also data-service depends on connection-model, for example it calls `connect()` from connection-model.
1 parent cafb3d0 commit f7b4eed

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@
151151
"marked": "^0.3.5",
152152
"moment": "^2.10.6",
153153
"mongodb-collection-model": "^0.3.1",
154-
"mongodb-connection-model": "^6.4.0",
155-
"mongodb-data-service": "^2.12.2",
154+
"mongodb-connection-model": "^6.4.2",
155+
"mongodb-data-service": "^2.12.3",
156156
"mongodb-database-model": "^0.1.2",
157157
"mongodb-explain-plan-model": "^0.2.2",
158158
"mongodb-extended-json": "^1.9.0",

src/app/connect/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,6 @@ var ConnectView = View.extend({
300300
if (this.clipboardText.match(/[?&]ssl=true/i)) {
301301
this.connection.ssl = 'SYSTEMCA';
302302
}
303-
// if we connect to an Atlas instance, use SYSTEMCA as SSL option
304-
if (this.connection.hostname.match(/mongodb.net$/i)) {
305-
this.connection.ssl = 'SYSTEMCA';
306-
}
307303
this.updateForm();
308304
// @note: durran: This fixes not being able to save a new favorite
309305
// from a collection that was auto-filled from the clipboard. Needed

0 commit comments

Comments
 (0)