[MCPE-8124] MCPE does not check world names for impermissible characters Created: 30/Mar/15  Updated: 07/Sep/15  Resolved: 31/Mar/15

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.10.5
Fix Version/s: 0.11.0

Type: Bug
Reporter: rplatham
Resolution: Fixed Votes: 0
Labels: files, folders, saving

Attachments: PNG File Screenshot_2015-03-29-21-39-47.png    
Confirmation Status: Unconfirmed
Platform: Phone - Android - Samsung Other (Specify in description)

 Description   

I created a world with the name "../" without the quotes.

what happened: The world files were saved under /mnt/games/com.mojang/

what I expected to happen: the world filed would be saved under /mnt/games/com.mojang/minecraftWorlds/SOMETHING where SOMETHING is some folder name used when you name your world something that uses impermissible file name characters.

This bug does not appear to be a security flaw/risk because MCPE gives a "can't open world" if you try to make a world that writes to a place you can't access.

Also, after quiting to the menu, this world will never appear in the world list because it's not in the right folder.

Device is Samsung Galaxy S4 android 4.4.2 running MCPE 0.10.5.



 Comments   
Comment by Jeroen Gilissen [ 04/Apr/15 ]

I named a world " .. " without the quotes, and it indeed didn't show up in my world list.

Comment by AMAN4700 [ 31/Mar/15 ]

What is the chance your gonna name your world ../?

Comment by Katten [ 30/Mar/15 ]

Hi Russell, this issue does not occur using 0.10.4 on an iPhone 6 plus running iOS 8.2. Attempting to use the "/" character does not result in it being entered into the world name.

Comment by rplatham [ 30/Mar/15 ]

Not sure if file system bugs go to Shoghi or Daniel, so I flipped a coin. Congrats Shoghi

Generated at Sat Jan 11 14:39:15 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.