mirror of https://github.com/apache/cloudstack.git
server: ignore params signatureversion and expires when validating API args
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
cb43f25446
commit
d361bf6847
|
|
@ -90,7 +90,7 @@ public class ParamGenericValidationWorker implements DispatchWorker {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!matchedCurrentParam) {
|
||||
if (!matchedCurrentParam && !((String)actualParamName).equalsIgnoreCase("expires") && !((String)actualParamName).equalsIgnoreCase("signatureversion")) {
|
||||
errorMsg.append(" ").append(actualParamName);
|
||||
foundUnknownParam= true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue