Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1630

mongosh does not allow accessing databases whose names conflict with Object.prototype

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: 2.0.2
    • Component/s: Shell API
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 1
    • Iteration Nodosaurus, Iteration Oviraptor
    • Not Needed

      The usual Object.prototype stuff. Fixed this for collections in https://github.com/mongodb-js/mongosh/commit/bb9bafe47deebec9084602ac574964f3b8f65a07, but forgot to consider that this would also apply to databases.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: