You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Julio Carlos Barrera (JIRA)" <ji...@apache.org> on 2013/11/14 10:55:27 UTC

[jira] [Created] (KARAF-2588) double escaped path slashes in session variables using shell

Julio Carlos Barrera created KARAF-2588:
-------------------------------------------

             Summary: double escaped path slashes in session variables using shell
                 Key: KARAF-2588
                 URL: https://issues.apache.org/jira/browse/KARAF-2588
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 2.2.11
         Environment: Windows 7 64 bits
Karaf 2.2.11 ZIP release
Windows cmd.exe
            Reporter: Julio Carlos Barrera
            Priority: Minor


In previous versions, like Karaf 2.2.2 ZIP release I could use paths as session variables using Karaf shell:

{noformat}scripts.path=C:\\data
C:\data{noformat}

But now, using Karaf 2.2.11 I need to double escape slashes to obtain the same behaviour:

{noformat}scripts.path=C:\\data
C:data{noformat}
vs
{noformat}scripts.path=C:\\\\data
C:\data{noformat}

I don't know in which version between 2.2.2 and 2.2.11 it has changed. Why did this behaviour change? I have a lot of Karaf scripts that I need to edit adding this double-escaped paths.



--
This message was sent by Atlassian JIRA
(v6.1#6144)