Peter Turcsanyi created NIFI-13810:
--------------------------------------

             Summary: 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


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