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

ASF subversion and git services commented on NIFI-7152:
-------------------------------------------------------

Commit 815e4cf51f913645352899837f702c7cd4f3a246 in nifi's branch 
refs/heads/master from Andy LoPresto
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=815e4cf ]

NIFI-7152 Added custom ExceptionMappers to handle invalid Remote Process Group 
port value - (#4085)

JsonContentConversionExceptionMapper, JsonMappingExceptionMapper, 
JsonParseExceptionMapper.
Registered the custom ExceptionMappers.
Added unit tests to throw Exception for string port value and sanitize script 
input. Handled null or empty JsonMappingException reference path.
Added the Apache license to Groovy Test.

Signed-off-by: Andy LoPresto <[email protected]>

> Remote process group outputs stack trace for invalid port entry
> ---------------------------------------------------------------
>
>                 Key: NIFI-7152
>                 URL: https://issues.apache.org/jira/browse/NIFI-7152
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: M Tien
>            Assignee: M Tien
>            Priority: Major
>              Labels: error-handling, security
>             Fix For: 1.11.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> While creating a remote process group, if the user enters an invalid port the 
> server's error response will output as a stack trace in the UI instead of a 
> sanitized error message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to