Bug #1667

html entities escaping in template Update properties dialogue

Added by Michal Kimle about 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:11/28/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Sunstone
Target version:Release 4.0
Resolution:duplicate Pull request:
Affected Versions:OpenNebula 3.8

Description

When updating template which contains html entities through Sunstone, for example

<!-- RAW data follows: --><cpu mode='host-model'></cpu> <devices><serial type='pty'><target port='0'/></serial><console type='pty'><target type='serial' port='0'/></console> <watchdog model='i6300esb' action='reset'/></devices>

it opens it in Update properties dialogue as

&lt;!-- RAW data follows: --&gt;&lt;cpu mode='host-model'&gt;&lt;/cpu&gt; &lt;devices&gt;&lt;serial type='pty'&gt;&lt;target port='0'/&gt;&lt;/serial&gt;&lt;console type='pty'&gt;&lt;target type='serial' port='0'/&gt;&lt;/console&gt; &lt;watchdog model='i6300esb' action='reset'/&gt;&lt;/devices&gt;

And aftre saving this template, entities are stored in their escaped form which makes the template invalid.

History

#1 Updated by Ruben S. Montero almost 7 years ago

  • Status changed from New to Closed
  • Target version set to Release 4.0
  • Resolution set to duplicate

Also available in: Atom PDF