bug: icon endless read

Ben Boeckel mathstuf at gmail.com
Sat Jun 1 00:58:45 BST 2013


On Wed, 29 May, 2013 at 19:22:44 GMT, Artur Zimmer wrote:
> xmonad + xmobar(commit 99e1e9c122c0bc5ca509912e26920317517b2215) with StdinReader activ:
>
> so the window title is parsed by xmobar,
> if you have a window named: "<icon=/dev/null></icon>" you get a cpu-load of 100%.
>
>
> for example: firefox title is the head-title of the html.
>
> so following website will produce a cpu-load of 100%:
>
><html>
><head>
> 	<title>&lt;icon=/dev/null&gt;title&lt;/icon&gt;</title>
></head>
></html>
>
>
> and this website will produce anpother color-schema:
>
><html>
><head>
><title>&lt;fc=red&gt;title&lt;/fc&gt;</title>
></head>
><body>
></body>
></html>

If any template variable expansion were HTML escaped, would that work?
Are there any variables which expand with a color sequence already?

--Ben




More information about the Xmobar mailing list