From 2aa7fac9ac2edf015e971d6d9ff63b121993b009 Mon Sep 17 00:00:00 2001 From: lujiefsi Date: Mon, 14 Dec 2020 14:10:23 +0800 Subject: [PATCH] CLOUDSTACK-10423:Potential sensitive information disclosure (#4536) * fixing CLOUDSTACK-10423 * make the message clear Co-authored-by: lujie --- .../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 7675e946d52..d40ca2364d5 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) {