minetest / contentdb

A content database for Minetest mods, games, and more
https://content.minetest.net
GNU Affero General Public License v3.0
98 stars 47 forks source link

Validate ZIP content filenames for Windows #548

Open sfan5 opened 4 months ago

sfan5 commented 4 months ago

extension of #379 the characters :<>|"?* are not allowed in Windows filenames. Extraction would fail in MT but mod authors should be warned.

there's also this list of problematic filenames: https://github.com/minetest/minetest/blob/3de42f56c5156c4a6e6438843f9d4a6d9ee236d9/src/util/string.cpp#L870-L905