This is an automated email from the ASF dual-hosted git repository.

pyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 58b4e71  params: allow signatureversion and expires without logging
58b4e71 is described below

commit 58b4e71b0e62a0e96e6eb20e96234a1599d0ffd0
Author: Pierre-Yves Ritschard <[email protected]>
AuthorDate: Mon Oct 15 14:15:00 2018 +0200

    params: allow signatureversion and expires without logging
    
    This patch considers the new expires and signatureversion parameters
    valid. Without this, all calls log when using the V3 signature scheme.
---
 .../main/java/com/cloud/api/dispatch/ParamGenericValidationWorker.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/server/src/main/java/com/cloud/api/dispatch/ParamGenericValidationWorker.java 
b/server/src/main/java/com/cloud/api/dispatch/ParamGenericValidationWorker.java
index 6509d11..45d4ed7 100644
--- 
a/server/src/main/java/com/cloud/api/dispatch/ParamGenericValidationWorker.java
+++ 
b/server/src/main/java/com/cloud/api/dispatch/ParamGenericValidationWorker.java
@@ -66,6 +66,8 @@ public class ParamGenericValidationWorker implements 
DispatchWorker {
         defaultParamNames.add(ApiConstants.CTX_DETAILS);
         defaultParamNames.add(ApiConstants.UUID);
         defaultParamNames.add(ApiConstants.ID);
+        defaultParamNames.add(ApiConstants.SIGNATURE_VERSION);
+        defaultParamNames.add(ApiConstants.EXPIRES);
         defaultParamNames.add("_");
     }
 

Reply via email to