Marton Szasz created MINIFICPP-1828:
---------------------------------------
Summary: InvokeHTTP Attributes to Send empty value means "send
all", but it should mean "send none" according to docs
Key: MINIFICPP-1828
URL: https://issues.apache.org/jira/browse/MINIFICPP-1828
Project: Apache NiFi MiNiFi C++
Issue Type: Bug
Reporter: Marton Szasz
InvokeHTTP docs say that a default / empty "Attributes to Send" means no
attributes are attempted to be sent as HTTP headers. But InvokeHTTP uses
HTTPClient::matches which in turn uses regex_search internally, instead of
regex_match. regex_search is subsequence match, but we need full sequence match.
A workaround could be adding "^$" around the text. A proper solution is to
change to use regex_match.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)