Re: ap_getword_conf() and badly quoted strings

2015-04-17 Thread William A Rowe Jr
I think in trunk we should properly bail if the same quote char does not occur as termination. I don't think we should second-guess the admin's intent. On Fri, Apr 17, 2015 at 6:43 AM, Yann Ylavic wrote: > Hi, > > currently ap_getword_conf() considers a word is quoted when (and only > when)

ap_getword_conf() and badly quoted strings

2015-04-17 Thread Yann Ylavic
Hi, currently ap_getword_conf() considers a word is quoted when (and only when) it starts with a quote, regardless of this word ending (or not) with the same quote. That is, eg., ap_getword_conf("\"") == "" or ap_getword_conf("\"whatever \\\"badly\\\" quoted") == "whatever \"badly\" quoted". I w