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

Function paths with invalid characters results in game freezing

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 17w49a, Minecraft 17w49b
    • Minecraft 18w02a
    • None
    • 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

              dinnerbone [Mojang] Nathan Adams
              onnowhere Onnowhere
              Votes:
              7 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: