DaanHoogland commented on a change in pull request #2097: [4.11]
CLOUDSTACK-9813: Extending Config Drive support
URL: https://github.com/apache/cloudstack/pull/2097#discussion_r160032337
##########
File path: api/src/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java
##########
@@ -149,6 +152,13 @@ public Long getId() {
}
public String getUserData() {
+ if (userData != null) {
+ try {
+ userData = URLDecoder.decode(userData, "UTF-8");
Review comment:
should we really do this unconditionally? it might already be UTF-8!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services