mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user