Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 173ef921bb5695da3313bc2c8856a350fb8e858d
https://github.com/tribe29/checkmk/commit/173ef921bb5695da3313bc2c8856a350f…
Author: Maximilian Wirtz <maximilian.wirtz(a)tribe29.com>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M cmk/gui/breadcrumb.py
M cmk/gui/crash_reporting.py
M cmk/gui/htmllib/__init__.py
M cmk/gui/login.py
M cmk/gui/logwatch.py
M cmk/gui/message.py
M cmk/gui/plugins/sidebar/site_status.py
M cmk/gui/plugins/views/availability.py
M cmk/gui/plugins/views/icons/utils.py
M cmk/gui/plugins/views/inventory.py
M cmk/gui/plugins/views/painters.py
M cmk/gui/plugins/wato/bi_config.py
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/table.py
M cmk/gui/utils/escaping.py
M cmk/gui/utils/html.py
M cmk/gui/utils/rendering.py
M cmk/gui/valuespec.py
M cmk/gui/view_utils.py
M cmk/gui/wato/mkeventd.py
M cmk/gui/wato/pages/bulk_import.py
M cmk/gui/wato/pages/folders.py
M cmk/gui/wato/pages/global_settings.py
M cmk/gui/wato/pages/ldap.py
M cmk/gui/wato/pages/pattern_editor.py
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/wato/pages/users.py
M cmk/gui/watolib/utils.py
M cmk/gui/werks.py
M tests/unit/cmk/gui/test_escaping.py
Log Message:
-----------
Renaming escape_html to escape_to_html
We have multiple escape functions. The renaming should indicate that the
function is returning a HTML object.
Also the parameter escape_links was set, so that the default could be
changed.
While reviewing the call-sites some escapings were removed, since other
functions will do them anyways, also some permissive calls were changed
to non-permissive calls when appropriate.
Change-Id: I6b231617b10da32ba4ff031b01014d48fde6ea5b