[manager,webapp]bugfix website monitor path Illegal character in path at index

This commit is contained in:
tomsun28
2022-03-04 13:54:30 +08:00
parent f3557b2859
commit 35f5bda51a
5 changed files with 30 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ public class WheelTimerTask implements TimerTask {
log.error("Aes Decode value {} error.", item.getValue());
}
item.setValue(decodeValue);
} else if (item.getValue() != null && item.getValue() instanceof String) {
item.setValue(((String) item.getValue()).trim());
}
})
.collect(Collectors.toMap(Configmap::getKey, item -> item));