Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-97885

/ban-ip doesn't work with IPv6 addresses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w38a, Minecraft 16w42a, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w17b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w47a, Minecraft 18w09a, Minecraft 18w22c, Minecraft 1.13.2, Minecraft 19w08a, Minecraft 1.14.2, 1.15 Pre-release 4, 1.15, 1.15.2, 1.16.1, 20w27a, 20w49a, 21w03a, 1.16.5, 1.17 Release Candidate 1, 1.17, 21w38a, 1.19.2
    • Confirmed
    • Commands, Networking
    • Normal

    Description

      The bug

      The /ban-ip command doesn't work with IPv6 addresses and yields this error instead: Expected whitespace to end one argument, but found trailing data

      How to reproduce

      1. Run:
        /ban-ip 2001:db8::1:2:3:4
        

        It actually doesn't ban the ip address, but throws an error instead

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              heni123321 henrik
              Votes:
              18 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: