[
https://issues.apache.org/jira/browse/FELIX-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved FELIX-5145.
------------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
Fix Version/s: utils-1.10.2
fileinstall-3.6.2
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M
utils/src/main/java/org/apache/felix/utils/properties/ConfigurationHandler.java
M
utils/src/test/java/org/apache/felix/utils/properties/TypedPropertiesTest.java
Committed r1807685
> FileInstall writes .config files back with backslashes escaping spaces in
> config values
> ---------------------------------------------------------------------------------------
>
> Key: FELIX-5145
> URL: https://issues.apache.org/jira/browse/FELIX-5145
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: fileinstall-3.5.0
> Reporter: munene kiruja
> Assignee: Guillaume Nodet
> Fix For: fileinstall-3.6.2, utils-1.10.2
>
> Attachments: ConfigurationHandler.java
>
>
> Fileinstall 3.5.0 added handling of .config file with an expanded syntax for
> configuration files allowing proper handling of arrays, etc. A great feature.
> There is one thing that appears to be handled improperly though - if the
> values in the key/value pairs have spaces in them, the files are written back
> with backslash escapes for the spaces.
> What is the justification for that?
> The effect is that the file is different from the original - which is quite a
> pain for automated installation with files generated from templates. The fake
> changes become a maintenance nightmare.
> It appears that escaping of spaces can be harmlessly removed, and perhaps
> should not be a part of the feature...
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)