[ 
https://issues.apache.org/jira/browse/NIFI-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16832074#comment-16832074
 ] 

Ryan Withers commented on NIFI-1693:
------------------------------------

Unbelievably I think I may be done.  I have a couple remaining tasks. 

# Run through checkstyle I'm pretty sure I have a couple of edits to make and 
preambles to add to a few of the added files
# make sure a full build works
# verify path expansion on a couple processors from the UI. 

Once I've completed those things I'll modify the draft pr I've been working off 
of and submit for formal review.  Any questions and comments are welcome ahead 
of time. 

> Paths do not support user home directory shortcut expansion
> -----------------------------------------------------------
>
>                 Key: NIFI-1693
>                 URL: https://issues.apache.org/jira/browse/NIFI-1693
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.6.0
>            Reporter: Andy LoPresto
>            Assignee: Ryan Withers
>            Priority: Minor
>         Attachments: file_ref.txt
>
>   Original Estimate: 24h
>          Time Spent: 1h
>  Remaining Estimate: 23h
>
> Java file path handling does not support user home directory shortcut 
> expansion ("~" -> "/Users/alopresto" for example). This is well-documented 
> and there are simple fixes [1] for this issue. 
> Recently this was discovered in the {{EncryptContent}} processors when 
> attempting to use a path to the public or secret keyring files that started 
> with the "~" character: i.e. {{~/.gnupg/pubring.gpg}}. 
> This should ideally be offered as a utility method (effectively a "filter" 
> that can be applied to all user-provided paths throughout the application for 
> consistent handling). 
> [1] http://stackoverflow.com/a/7163455/70465



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to