[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Resolved] (EXEC-93) Handling of escaped values by StringUtils
From: "Viktor Sadovnikov (JIRA)" <jira () apache ! org>
Date: 2015-09-29 18:15:04
Message-ID: JIRA.12782855.1426685282000.104738.1443550504667 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/EXEC-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Viktor Sadovnikov resolved EXEC-93.
-----------------------------------
Resolution: Won't Fix
Yes, fair enough. It's impossible to make this code platform agnostic. Thanks
> Handling of escaped values by StringUtils
> -----------------------------------------
>
> Key: EXEC-93
> URL: https://issues.apache.org/jira/browse/EXEC-93
> Project: Commons Exec
> Issue Type: Bug
> Affects Versions: 1.3, 1.4
> Reporter: Viktor Sadovnikov
> Fix For: 1.4
>
> Attachments: EXEC-93.patch
>
>
> An arguments can contain an environment variable value. For example, in command \
> {{cd /tmp && STORAGE_DIR=/tmp resolve.sh}} {{STORAGE_DIR=/tmp}} is an argument, \
> which is used by {{resolve.sh}}. However values of the variables can be more \
> complicated and can contain escaped quotes. Current implementation of \
> {{StringUtils#quoteArgument(String)}} does not handle these values correctly. \
> Attached patch contains fix for this problem and unit tests to demonstrate the \
> problem and the fix
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic