confuse-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Confuse-devel] Bugs with parameters with double quotes and backslash


From: Aurelien Jarno
Subject: [Confuse-devel] Bugs with parameters with double quotes and backslash
Date: Sun, 9 Jul 2006 14:31:45 +0200
User-agent: Mutt/1.5.11+cvs20060403

Hi,

When a string parameter with a string containing a double quote (") is
set with a simple cfg_setstr then reading the resulting configuration
file with cfg_print is invalid: 

  parameter = "text " with quotes"

The quote needs to be escaped with a backslash.

If the string contains a backslash, it will usually disappear. It needs
to be doubled...

Please find attached a patch to fix that.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   address@hidden         | address@hidden
   `-    people.debian.org/~aurel32 | www.aurel32.net

Attachment: confuse_quotes_backslash.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]