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

Function paths with invalid characters results in game freezing

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 17w49a, Minecraft 17w49b
    • Fix Version/s: Minecraft 18w02a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      The bug

      When loading a world with a function containing a file name containing an invalid character, the game freezes and produces the following error in the output log

      MinecraftServer    Encountered an unexpected exception, g: Non [a-z0-9/._-] character in path of location

      Example path:

      custom/foo [error here]/bar.mcfunction

      This causes the game to freeze as `[` is an invalid character.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dinnerbone [Mojang] Dinnerbone (Nathan Adams)
                Reporter:
                onnowhere Onnowhere
              • Votes:
                7 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: