[wesnoth-commits] [wesnoth/wesnoth] 7f71a6: fs: Move addon filename validation logic to the fi...
Iris Morelle
noreply at github.com
Thu Apr 8 21:13:15 UTC 2021
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 7f71a6e84998c780624cbe5949efd3b6f71833a0
https://github.com/wesnoth/wesnoth/commit/7f71a6e84998c780624cbe5949efd3b6f71833a0
Author: Iris Morelle <shadowm at wesnoth.org>
Date: 2021-04-08 (Thu, 08 Apr 2021)
Changed paths:
M src/addon/validation.cpp
M src/filesystem.hpp
M src/filesystem_common.cpp
Log Message:
-----------
fs: Move addon filename validation logic to the filesystem namespace
This will enable us to use this in other places where filenames are
constructed partially or entirely from user input.
Commit: e90067936d66b2e4dbca5f020fcb381904fac163
https://github.com/wesnoth/wesnoth/commit/e90067936d66b2e4dbca5f020fcb381904fac163
Author: Iris Morelle <shadowm at wesnoth.org>
Date: 2021-04-08 (Thu, 08 Apr 2021)
Changed paths:
M src/addon/validation.cpp
M src/filesystem.hpp
M src/filesystem_common.cpp
Log Message:
-----------
fs: Add allow_whitespace parameter to is_legal_user_file_name()
This is supposed to be false for the add-ons server, true (default) for
saved games.
Commit: 4ed1a9c784047550ebb8b40e9813f13df1653e46
https://github.com/wesnoth/wesnoth/commit/4ed1a9c784047550ebb8b40e9813f13df1653e46
Author: Iris Morelle <shadowm at wesnoth.org>
Date: 2021-04-08 (Thu, 08 Apr 2021)
Changed paths:
M src/savegame.cpp
Log Message:
-----------
Check for illegal filenames after the Save Game dialog is displayed
Closes #5679.
Compare: https://github.com/wesnoth/wesnoth/compare/1273aba5d86e...4ed1a9c78404
More information about the Commits
mailing list