mirror of https://github.com/apache/cloudstack.git
bug 7826: Check for correct date range. Make DateFormat strict (turn off lenient)
status 7826: resolved fixed
This commit is contained in:
parent
c009b56a60
commit
695abd5c5a
|
|
@ -259,6 +259,7 @@ public class ApiDispatcher {
|
|||
}
|
||||
}else{
|
||||
DateFormat format = BaseCmd.INPUT_FORMAT;
|
||||
format.setLenient(false);
|
||||
synchronized (format) {
|
||||
field.set(cmdObj, format.parse(paramObj.toString()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue