summaryrefslogtreecommitdiff
path: root/src/server/player_sao.cpp
diff options
context:
space:
mode:
authorHugues Ross <hugues.ross@gmail.com>2020-07-28 13:16:57 -0400
committerGitHub <noreply@github.com>2020-07-28 19:16:57 +0200
commit3ce03d1c2a63d261c83f5962cd13212697f19472 (patch)
treef7c7db205866254865d18c711682c984c062b9cc /src/server/player_sao.cpp
parentf948e2c58570df6bc77226b6066fec5ed90051ee (diff)
downloadminetest-3ce03d1c2a63d261c83f5962cd13212697f19472.tar.gz
minetest-3ce03d1c2a63d261c83f5962cd13212697f19472.tar.bz2
minetest-3ce03d1c2a63d261c83f5962cd13212697f19472.zip
Sanitize world directory names on create. Keep original name separate (#9432)
Blacklisted characters are replaced by '_' in the path. The display name is stored in world.mt, and duplicate file names are resolved by adding an incrementing suffix (_1, _2, _3, etc).
Diffstat (limited to 'src/server/player_sao.cpp')
0 files changed, 0 insertions, 0 deletions