You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/09/29 23:45:07 UTC

[jira] Created: (ARIES-8) When converting from string to properties, do we need to escape \ ?

When converting from string to properties, do we need to escape \ ?
-------------------------------------------------------------------

                 Key: ARIES-8
                 URL: https://issues.apache.org/jira/browse/ARIES-8
             Project: Aries
          Issue Type: Improvement
          Components: Blueprint
            Reporter: Guillaume Nodet


The use case is the following from karaf:

    <jaas:config name="karaf">
        <jaas:module className="org.apache.felix.karaf.jaas.modules.properties.PropertiesLoginModule" flags="required">
            users = $[karaf.base]/etc/users.properties
        </jaas:module>
    </jaas:config>

If ${karaf.base} has some '\' in its value (for example if used in windows), the '\' are removed as escape characters.

Not really sure what we can do, and I think it should be handled by the spec if needed, but an extension or workaround would be nice.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.