Vinz2168 commented on PR #11844:
URL: https://github.com/apache/nifi/pull/11844#issuecomment-7002930504

   Thanks @exceptionfactory and @pvillard31. I reworked the PR along the lines 
you suggested. `addQueryParameter` keeps its existing behavior, and its Javadoc 
now states that reserved characters are not encoded. A new 
`addUnencodedQueryParameter` method encodes names and values, and 
`StandardHttpReplicationClient` now uses it when copying query parameters from 
the replicated request URI, which was the original problem in NIFI-16501. A 
test covers the unchanged output of `addQueryParameter`. I also rebased onto 
the latest `main`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to