lordgamez commented on code in PR #1362:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1362#discussion_r917690026
##########
extensions/civetweb/processors/ListenHTTP.cpp:
##########
@@ -108,10 +108,12 @@ void ListenHTTP::onSchedule(core::ProcessContext
*context, core::ProcessSessionF
bool randomPort = listeningPort == "0";
- std::string authDNPattern;
+ std::string authDNPattern = ".*";
if (context->getProperty(AuthorizedDNPattern.getName(), authDNPattern) &&
!authDNPattern.empty()) {
logger_->log_debug("ListenHTTP using %s: %s",
AuthorizedDNPattern.getName(), authDNPattern);
+ } else {
+ logger_->log_debug("Authorized DN Pattern not set or invalid, using
default '%s' pattern", authDNPattern);
Review Comment:
Good catch, fixed in 780e0ce9d630ec0fd4214b676a2d19da5d840755
--
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]