You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ethan Manns (JIRA)" <ji...@apache.org> on 2017/08/28 16:38:00 UTC

[jira] [Created] (KARAF-5320) Karaf Command Arguments escapes backslash characters

Ethan Manns created KARAF-5320:
----------------------------------

             Summary: Karaf Command Arguments escapes backslash characters
                 Key: KARAF-5320
                 URL: https://issues.apache.org/jira/browse/KARAF-5320
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 4.1.1
            Reporter: Ethan Manns


Karaf shell command arguments will escape backslashes even when the argument is entered in the console surrounded by quotes. As an example, this creates issues with attempting to enter Windows file paths as they appear on the file system.
{{myCommand "C:\Users\MyUser\Documents\example.txt"}} or {{myCommand C:\Users\MyUser\Documents\example.txt}} 
will have the argument passed in as
{{C:UsersMyUserDocumentsexample.txt}}.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)