CLOUDSTACK-10423:Potential sensitive information disclosure (#4536)

* fixing CLOUDSTACK-10423

* make the message clear

Co-authored-by: lujie <lujie@foxmail.com>
This commit is contained in:
lujiefsi 2020-12-14 14:10:23 +08:00 committed by GitHub
parent 3689b9da41
commit 2aa7fac9ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {