Re: [PATCH 2/8] config.c: Escape backslashes in section names properly
- From
- Bryan Donlan <bdonlan@fushizen.net>
- Date
- Apr 9, 2008, 14:13 UTC
- Message-ID
- <20080409141334.GA24402@shion.is.fushizen.net>
- In-Reply-To
- <47FC62B0.3060802@viscovery.net>
On Wed, Apr 09, 2008 at 08:31:12AM +0200, Johannes Sixt wrote:
Show 5 quoted lines
> Bryan Donlan schrieb: > > Signed-off-by: Bryan Donlan <bdonlan@fushizen.net> > > What is your definition of "properly"? Please give an example of what went > wrong.
The included patch to the test suite is an example - specifically if an element of the configuration key name other than the first or last contains a backslash, it would not be escaped on output, but would be treated as an escape sequence on input. Thus the backslash would be lost.