File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11
22import MongoCollection from './MongoCollection' ;
33import MongoSchemaCollection from './MongoSchemaCollection' ;
4- import { parse as parseUrl , format as formatUrl } from './mongodbUrl' ;
4+ import { parse as parseUrl , format as formatUrl } from '../../../vendor /mongodbUrl' ;
55
66let mongodb = require ( 'mongodb' ) ;
77let 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