aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2019-10-10 13:25:08 +0200
committerWladimir J. van der Laan <[email protected]>2019-10-15 10:53:17 +0200
commitd7820a1250070f3640246ae497e049bee0b3516f (patch)
tree266d939618fc74196736a9a3e2a9ccb538cc4a4f /src/httpserver.cpp
parentMerge #17057: build: switch to upstream libdmg-hfsplus (diff)
downloaddiscoin-d7820a1250070f3640246ae497e049bee0b3516f.tar.xz
discoin-d7820a1250070f3640246ae497e049bee0b3516f.zip
util: Filter control characters out of log messages
Belts and suspenders: make sure outgoing log messages don't contain potentially suspicious characters, such as terminal control codes. This escapes control characters except newline ('\n') in C syntax. It escapes instead of removes them to still allow for troubleshooting issues where they accidentally end up in strings.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions