Skip to content

Commit 2aa7fac

Browse files
lujiefsilujie
andauthored
CLOUDSTACK-10423:Potential sensitive information disclosure (#4536)
* fixing CLOUDSTACK-10423 * make the message clear Co-authored-by: lujie <[email protected]>
1 parent 3689b9d commit 2aa7fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/storage/image/default/src/main/java/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackImageStoreLifeCycleImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public DataStore initialize(Map<String, Object> dsInfos) {
114114
}
115115
}
116116
} catch (URISyntaxException e) {
117-
throw new InvalidParameterValueException(url + " is not a valid uri");
117+
throw new InvalidParameterValueException(logString + " is not a valid uri. Note that the URL in this message has been sanitized");
118118
}
119119

120120
if (dcId == null) {

0 commit comments

Comments
 (0)