Allow double quotes on config strings
Status: Alpha
Brought to you by:
coroberti
|
From: Patricio M D. J. <pat...@th...> - 2016-02-09 17:06:50
|
Hi there (is still anyone there or should I look for a fork?)
Last night during a test I found out that an ISS7.5 didn't like me
replacing the POST data double quotes by single quotes, so I made a little
little change for allowing double quote text between double quotes.
Please accept the patch to the mainline version.
--- parse_conf.c 2012-01-02 15:17:15.000000000 +0100
+++ parse_conf.c.patch 2016-02-09 08:51:15.105650965 +0100
@@ -584,8 +584,11 @@
if (*(value_start + 1))
{
- if ((quotes_closing = strchr (value_start + 1, '"')))
+ quotes_closing = strchr (value_start + 1, '"');
+ while (quotes_closing ){
value_end = quotes_closing + 1;
+ quotes_closing = strchr( quotes_closing +1,'"');
+ }
}
else
{
Patricio M Dorantes Jamarne
|