You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Csaba Skrabak (JIRA)" <ji...@apache.org> on 2017/04/21 17:18:04 UTC

[jira] [Created] (CLI-275) Cannot get a full quoted argument through

Csaba Skrabak created CLI-275:
---------------------------------

             Summary: Cannot get a full quoted argument through
                 Key: CLI-275
                 URL: https://issues.apache.org/jira/browse/CLI-275
             Project: Commons CLI
          Issue Type: Bug
            Reporter: Csaba Skrabak


CLI-185 has been partially fixed but user still cannot pass in an argument like "x" (the whole argument surrounded by one pair of double quotes.) If user enters \"x\" then the quotes get eaten (btw. WHY THE HECK?!). But if user enters \"\"x\"\" then both pairs of quotes are left intact.
The idea of removing the quotes is plain wrong, should be either forgotten entirely or the argument should be parsed properly (rather than tinkering from bug to bug with variations of find/substring call constructs) with the possibility to escape and quote quotation marks.
Blocks: PHOENIX-3710



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)