Escape replacement macros in preferences
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 5 May 2019 20:37:43 +0000 (20:37 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 5 May 2019 20:37:43 +0000 (20:37 +0000)
commit641a045ea5407a56626c7ea718efc7bbf5152ba1
tree624e0297353265179e02ca7b5df8a1f705bd481f
parent9ea1249e8e340f62483da7ea68d3c21b5e0018ea
Escape replacement macros in preferences

Don't let users inject replacement macros into their preferences,
just escape them so they're harmless. Also adjust the preferences
tests to include macros so this safety measure does not regress.
mudpy/command.py
mudpy/tests/selftest.py