Re: [Boost-bugs] [Boost C++ Libraries] #850: program_options strips off escaped quotes in some situations

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #850: program_options strips off escaped quotes in some situations
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-30 16:12:39


#850: program_options strips off escaped quotes in some situations
--------------------+-------------------------------------------------------
  Reporter: apoxy | Owner: vladimir_prus
      Type: Bugs | Status: assigned
 Milestone: | Component: program_options
   Version: None | Severity: Problem
Resolution: None | Keywords:
--------------------+-------------------------------------------------------
Changes (by s.ochsenknecht@…):

 * cc: s.ochsenknecht@… (added)

Comment:

 There is some code which is removing quotes like '"' and ''' if they occur
 and the begin and at the of the option value.
 Maybe there is a good reason for this? I don't know (maybe because of
 config files?).

 Anyhow, I attached a patch which removes this code and keeps the value as
 it come from the command line (expect the quotas which were removed by the
 shell).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/850#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC