[
https://issues.apache.org/jira/browse/NIFI-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-2800.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> GetFile Processor Appends overrides last slash in filename to always be \
> -------------------------------------------------------------------------
>
> Key: NIFI-2800
> URL: https://issues.apache.org/jira/browse/NIFI-2800
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.0.0
> Environment: This was discovered on a windows machine running nifi
> server locally
> Reporter: Christopher Gambino
> Priority: Minor
>
> When using the GetFile processor all flowfiles created have an
> "Absolute.Path" attribute. This absolute path is taken from the directory
> field of the GetFile configuration. The last slash in the directory is
> always over-ridden to be '/' even when the user puts "\" in the directory
> structure.
> Example:
> Configuraton - "Directory": "C:\Samplepath\SampleFolder\"
> Output Flowfile - "Absolute.Path": "C:\Samplepath\SampleFolder/"
> I believe the intended function of this should not replace the last \ with a
> /. This creates issues when using the attribute in later stages with other
> processors such as ExecuteStreamProcess.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)