[wesnoth-commits] [wesnoth/wesnoth] 75ca52: Fix addon manager crash if not finding the add-on ...
GitHub
noreply at github.com
Thu Jan 17 23:43:53 UTC 2019
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 75ca522a5b8bce8cf5a49c6745eaaeccd22dddcc
https://github.com/wesnoth/wesnoth/commit/75ca522a5b8bce8cf5a49c6745eaaeccd22dddcc
Author: Lovens Weche <lweche159 at gmail.com>
Date: 2019-01-18 (Fri, 18 Jan 2019)
Changed paths:
M data/tools/wesnoth_addon_manager
Log Message:
-----------
Fix addon manager crash if not finding the add-on (#3874)
* Fix addon manager crash if not finding the add-on
In the addon manager, there was no validation code for paths in the file
system for uploading addons. This fix adds validation at the parsing
level, so that the original code is left unchanged.
* Fixes for addon manager crash commit
Fixes include:
1. Spaces kept instead of tabs.
2. printf-style String Formatting is used since it seems to be compatible
with nearly all versions of Python.
3. A trailing line break was added to the formatted string.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Commits
mailing list