Userdata does not work when you submit from the browser

Bug #850561 reported by Jake Dahn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Jake Dahn

Bug Description

When you submit from the browser it includes \n and \r, but it needs to only include \n's.

Devin Carlen (devcamcar)
Changed in openstack-dashboard:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → High
assignee: nobody → Jake Dahn (jakedahn)
milestone: none → diablo-integrated-freeze
Revision history for this message
Jesse Andrews (anotherjesse) wrote :

this might be fixed ...

By entering a script in the userdata it used to throw an error (\r\n) but now works:

  https://help.ubuntu.com/community/CloudInit

Revision history for this message
Jake Dahn (jakedahn) wrote :

Yeah, I think this was fixed elsewhere, unable to reproduce, running a simple script works fine.

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Even if it's fixed elsewhere, running this input through django.utils.text.normalize_newlines wouldn't hurt.

Devin Carlen (devcamcar)
Changed in openstack-dashboard:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.