Module: check_mk
Branch: master
Commit: ad80249fc13e6da3f7dd6ce7c30555ffe1e1665b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ad80249fc13e6d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 18 09:58:11 2015 +0100
#2896 FIX Improved handling of wrong encoded input strings
When a user submitted non UTF-8 encoded strings, for example latin-1 encoded ones,
where we expect to get a UTF-8 encoded string, this resulted in a cryptic exception.
This has been fixed now by raising an understandable error message in most places.
---
.werks/2896 | 11 ++++++++++
ChangeLog | 1 +
mkeventd/web/plugins/views/mkeventd.py | 4 ++--
web/htdocs/actions.py | 4 ++--
web/htdocs/bi.py | 12 +++++------
web/htdocs/htmllib.py | 11 +++++++++-
web/htdocs/login.py | 4 ++--
web/htdocs/table.py | 2 +-
web/htdocs/valuespec.py | 4 ++--
web/htdocs/visuals.py | 2 +-
web/htdocs/wato.py | 36 ++++++++++++++++----------------
web/htdocs/watolib.py | 2 +-
web/htdocs/weblib.py | 2 +-
web/plugins/views/commands.py | 10 ++++-----
web/plugins/visuals/bi.py | 8 +++----
web/plugins/visuals/filters.py | 2 +-
web/plugins/visuals/inventory.py | 2 +-
17 files changed, 69 insertions(+), 48 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ad80249fc1…