Specific IP addresses seems to be valid ObjectIDs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.1.7
    • Component/s: BSON, MongoDB 3.2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I'm currently developing mongoclient which is a featured management tool. One of the users of mongoclient has encountered an interesting bug.

      It seems some of the IP addresses are valid ObjectIDs which they shouldn't be.

      For example:

      objectID.isValid("192.168.1.94") = true
      

      but

      objectID.isValid("172.29.11.154") = false
      

            Assignee:
            Christian Amor Kvalheim
            Reporter:
            Sercan Ă–zdemir
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: