File tree 3 files changed +9
-1
lines changed 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
2
2
import MongoCollection from './MongoCollection' ;
3
3
import MongoSchemaCollection from './MongoSchemaCollection' ;
4
- import { parse as parseUrl , format as formatUrl } from './mongodbUrl' ;
4
+ import { parse as parseUrl , format as formatUrl } from '../../../vendor /mongodbUrl' ;
5
5
6
6
let mongodb = require ( 'mongodb' ) ;
7
7
let MongoClient = mongodb . MongoClient ;
Original file line number Diff line number Diff line change
1
+ # mongoUrl
2
+
3
+ A fork of node's ` url ` module, with the modification that commas and colons are
4
+ allowed in hostnames. While this results in a slightly incorrect parsed result,
5
+ as the hostname field for a mongodb should be an array of replica sets, it's
6
+ good enough to let us pull out and escape the auth portion of the URL.
7
+
8
+ See also: https://github.com/ParsePlatform/parse-server/pull/986
File renamed without changes.
You can’t perform that action at this time.
0 commit comments