Mojira Archive
MC-122956

Function paths with invalid characters results in game freezing

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.

Fixed

Onnowhere

[Mojang] Nathan Adams

2017-12-07, 05:33 AM

2018-01-10, 12:51 PM

2018-01-10, 12:51 PM

7

2

Confirmed

Minecraft 17w49a, Minecraft 17w49b

Minecraft 18w02a