fgerlits commented on code in PR #1708:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1708#discussion_r1426957582
##########
libminifi/src/core/FlowConfiguration.cpp:
##########
@@ -174,4 +181,22 @@ std::shared_ptr<core::controller::ControllerServiceNode>
FlowConfiguration::crea
return controllerServicesNode;
}
+std::string FlowConfiguration::decryptProperty(const std::string&
encrypted_value) const {
+ static const utils::Regex is_encrypted{R"(enc\{.*\})"};
+ if (!utils::regexMatch(encrypted_value, is_encrypted)) {
Review Comment:
good idea, fixed in e3c2ca4db93eed4e6ea18b49662bc16be1fb2477
--
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]