Bug #2466: Unicode characters in HTTP variables crash the GUI in different places

Date: 2016-08-03State: openClass: bugComponent: multisite

When a unicode character is added to URL variables read with html.vars() and thisis added to the HTML output which may already be unicode, this results into an exception.For example this URL: http://localhost/stable/check_mk/view.py?asdx=asd&view_name=allhosts%F0%9F%98%B4We should solve this in a general place, for example html.var().---Solution: Cleanup html.var() to always return Unicode strings instead of byte strings.In this stept html.var_utf8() and html.get_unicode_input() can be replaced.