You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/12/14 06:10:37 UTC
[cloudstack] branch master updated: CLOUDSTACK-10423:Potential
sensitive information disclosure (#4536)
This is an automated email from the ASF dual-hosted git repository.
rohit 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 2aa7fac CLOUDSTACK-10423:Potential sensitive information disclosure (#4536)
2aa7fac is described below
commit 2aa7fac9ac2edf015e971d6d9ff63b121993b009
Author: lujiefsi <lu...@foxmail.com>
AuthorDate: Mon Dec 14 14:10:23 2020 +0800
CLOUDSTACK-10423:Potential sensitive information disclosure (#4536)
* fixing CLOUDSTACK-10423
* make the message clear
Co-authored-by: lujie <lu...@foxmail.com>
---
.../storage/datastore/lifecycle/CloudStackImageStoreLifeCycleImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/storage/image/default/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackImageStoreLifeCycleImpl.java b/plugins/storage/image/default/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackImageStoreLifeCycleImpl.java
index 7675e94..d40ca23 100644
--- a/plugins/storage/image/default/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackImageStoreLifeCycleImpl.java
+++ b/plugins/storage/image/default/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackImageStoreLifeCycleImpl.java
@@ -114,7 +114,7 @@ public class CloudStackImageStoreLifeCycleImpl implements ImageStoreLifeCycle {
}
}
} catch (URISyntaxException e) {
- throw new InvalidParameterValueException(url + " is not a valid uri");
+ throw new InvalidParameterValueException(logString + " is not a valid uri. Note that the URL in this message has been sanitized");
}
if (dcId == null) {