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

David Handermann commented on NIFI-13810:
-----------------------------------------

Thanks for finding this issue [~turcsanyip]! I have submitted a pull request to 
align the behavior of the refactored implementation with earlier versions.

> StandardHttpUriBuilder should handle optional ending / (slash) in base paths
> ----------------------------------------------------------------------------
>
>                 Key: NIFI-13810
>                 URL: https://issues.apache.org/jira/browse/NIFI-13810
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Peter Turcsanyi
>            Assignee: David Handermann
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> NIFI-13619 swithced the HTTP client implementation under 
> StandardWebClientService and StandardHttpUriBuilder from OkHttp to Java 
> built-in.
> The old OkHttp-based implementation handled the ending / (slash) character in 
> base paths as optional (add if not present, do not duplicate if present).
> The new version requires an explicit / (slash) at the end of the base path 
> otherwise the URL will be invalid when additional path segments are added to 
> the base path.
> StandardHttpUriBuilder should provide the old behaviour and handle base paths 
> w/o ending / (slash).
> Affected components using StandardHttpUriBuilder with base path + path 
> segments: QueryAirtable, SlackRecordSink



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to