github-code-scanning[bot] commented on code in PR #13527:
URL:
https://github.com/apache/dolphinscheduler/pull/13527#discussion_r1098381200
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ExecutorServiceImpl.java:
##########
@@ -1241,6 +1241,19 @@
if
(scheduleResult.get(CMD_PARAM_COMPLEMENT_DATA_SCHEDULE_DATE_LIST) == null) {
return false;
}
+ String[] stringDates =
scheduleResult.get(CMD_PARAM_COMPLEMENT_DATA_SCHEDULE_DATE_LIST).split(COMMA);
+ for (String stringDate : stringDates) {
+ stringDate = stringDate.trim();
+ try {
+ ZonedDateTime dateTime =
DateUtils.stringToZoneDateTime(stringDate);
+ if (dateTime == null) {
+ return false;
+ }
+ } catch (Exception ex) {
+ logger.warn("Parse schedule time error, date string: {}",
stringDate);
Review Comment:
## Log Injection
This log entry depends on a [user-provided value](1).
This log entry depends on a [user-provided value](2).
[Show more
details](https://github.com/apache/dolphinscheduler/security/code-scanning/2662)
--
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]