cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prachi Damle" <prachi.da...@citrix.com>
Subject Re: Review Request: deployVirtualMachine api, added a check to see if the userdata provided is base64 encoded.
Date Mon, 13 Aug 2012 23:31:56 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/6428/#review10247
-----------------------------------------------------------


Likitha,

It would be good if you pre-compile the regex into a Pattern using Pattern.compile and then
match it to the input.


- Prachi Damle


On Aug. 8, 2012, 9:08 a.m., Likitha Shetty wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/6428/
> -----------------------------------------------------------
> 
> (Updated Aug. 8, 2012, 9:08 a.m.)
> 
> 
> Review request for cloudstack and Prachi Damle.
> 
> 
> Description
> -------
> 
> Error out with InvalidParameterValueException in UserVmManagerImpl if userdata is not
base64 encoded.
> 
> 
> This addresses bug CS-14796.
> 
> 
> Diffs
> -----
> 
>   server/src/com/cloud/vm/UserVmManager.java 11d2c64 
>   server/src/com/cloud/vm/UserVmManagerImpl.java f441c72 
> 
> Diff: https://reviews.apache.org/r/6428/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Likitha Shetty
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message