Skip to content

Conversation

@hpf3
Copy link
Contributor

@hpf3 hpf3 commented Jul 1, 2024

noticed that the "copy existing world" ability does not check if a level path is absolute, and appends it to /data/, added simple regex ( ^/.*$ ) check to see if LEVEL is absolute

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@itzg itzg added the bug label Jul 1, 2024
@itzg itzg merged commit 50caaf9 into itzg:master Jul 1, 2024
sevenrats pushed a commit to sevenrats/docker-minecraft-server that referenced this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setting LEVEL to an absolute path causes WORLD (existing world copy) to break

2 participants