Ah, roger. Thanks for the explanation!

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Remi Bergsma" <rberg...@schubergphilis.com>
> To: users@cloudstack.apache.org
> Sent: Sunday, 28 February, 2016 15:48:12
> Subject: Re: User data is not base64 encoded

> It means: make it safe to be passed in an url. Base64 encoded data can still
> contain "+", "=" and “/" which may confuse the browser/server.
> 
> Example:
> data: "some data" becomes base64 encoded: ZGF0YTogInNvbWUgZGF0YSI= and url
> encoded: ZGF0YTogInNvbWUgZGF0YSI%3D
> 
> To play with it, see:
> https://www.base64encode.org/
> 
> http://www.albionresearch.com/misc/urlencode.php
> 
> 
> Regards,
> Remi
> 
> 
> 
> 
> 
> 
> On 28/02/16 15:52, "Nux!" <n...@li.nux.ro> wrote:
> 
>>Suresh,
>>
>>Can you please rephrase that? What's "urlencoded"?
>>
>>--
>>Sent from the Delta quadrant using Borg technology!
>>
>>Nux!
>>www.nux.ro
>>
>>----- Original Message -----
>>> From: "Suresh Sadhu" <suresh.sa...@citrix.com>
>>> To: users@cloudstack.apache.org
>>> Sent: Sunday, 28 February, 2016 14:49:08
>>> Subject: RE: User data is not base64 encoded
>>
>>> Hi,
>>> 
>>> After converting userdata to base64 format and make it urlencoded then pass 
>>> the
>>> userdata string as api parameter.
>>> 
>>> 
>>> Regards
>>> Sadhu
>>> 
>>> ________________________________________
>>> ________________________________
>>> From: Yacubovich, David <dyacubov...@collegeboard.org>
>>> Sent: Thursday, February 25, 2016 12:30 PM
>>> To: users@cloudstack.apache.org
>>> Subject: User data is not base64 encoded
>>> 
>>> Hello All,
>>> I am trying to test the use of userdata on CS 4.6. I am creating new 
>>> instance
>>> from the UI and I paste the base64 encoded string into the userdata box. 
>>> But I
>>> get this error every time. I can't find any examples of how to use userdata
>>> online. Can someone please give me an example of how this should work?
>>> 
>>> Here is m example:
>>> 
>>> # echo "env: poclab
>>> container: tomcat" | base64
>>> ZW52OiBwb2NsYWIKY29udGFpbmVyOiB0b21jYXQK
>>> 
>>> And I paste this string into userdata box.
>>> 
>>> Thanks,
> >> David

Reply via email to