mojira.dev
MCPE-236359

Some content log errors show the full private file path

The bug

Some content log errors/warnings produced by the game include the full path to the offending file, which usually starts with C:\Users\<username>. Not only is this very noisy, I consider it to be private information that should not be displayed on the screen, logged, or copied to the clipboard.

How to reproduce

  1. Turn on the content log

  2. Download and open the attached world:[mediaInline]

  3. Check for content log errors

Expected result

Error like this

[Blocks][error]-block_definitions | blocks/demos/with_display_name.json | Unexpected version for the loaded data

Observed result

Error like this

[Blocks][error]-block_definitions | C:/Users/<my username>/AppData/Roaming/Minecraft Bedrock Preview/Users/<my id>/games/com.mojang/minecraftWorlds/jU8j7l-BJ3I=/behavior_packs/0 | blocks/demos/with_display_name.json | Unexpected version for the loaded data

Attachments

Comments 2

Is this a change that happened in recent versions only?

I don’t believe so

tryashtar

(Unassigned)

1565158

Confirmed

Windows

26.0, 26.10.23 Preview

Retrieved