|
From: Christoph B. <cb...@df...> - 2010-05-17 19:16:37
|
>From http://bugs.debian.org/579739 : ----- Forwarded message from Axel Beckert <be...@ph...> ----- Date: Fri, 30 Apr 2010 12:48:17 +0200 (CEST) From: Axel Beckert <be...@ph...> Subject: Bug#579739: hobbit: Broken parsing of PROC ... TEXT="..." Package: hobbit Version: 4.2.0.dfsg-14lenny3 Severity: minor Adding the following two lines to a host in hobbit-clients.cfg... PROC test 0 1 yellow TEXT="This is a test text with double quotes" PROC test 0 2 yellow TEXT=This is a test text without double quotes results in the following strings on the procs page for that host: "This is a test text with double quotes (found 0, req. at most 1) This (found 0, req. at most 2) In the first case the leading double quote is not stripped from the text, but without double quotes, only the first word is taken (which would be fine if it would work with double quotes). ----- End forwarded message ----- The problem is easy to reproduce with the above recipe and hobbitd_client --dump-config. CLASS="foo bar" is equally affected, so this looks like a bug in the rulewalk mechanism. Christoph -- cb...@df... | http://www.df7cb.de/ |