Backlog #3452
Support non alphanumeric characters for templates
Status: | Pending | Start date: | 12/15/2014 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | Drivers - VM | |||
Target version: | - |
Description
Importing vCenter templates with characters #$& result in error as OpenNebula does not allow names with those characters. Also, some characters are escaped by vCenter so % and / become %25 and %2f. They should be unescaped when importing into OpenNebula.
History
#1 Updated by James Dingwall over 6 years ago
Similarly in the add datastore wizard special characters cannot be used without being escaped in the path fields and when they are the then the escaped character is passed in the xml to the driver scripts. The result returned from the server when not escaped includes:
<div id="summary">
<h1><strong>ArgumentError</strong> at <strong>/datastore
</strong></h1>
<h2>invalid %-encoding ({"datastore":{"name":"one system","tm_mad":"mydriver","disk_type":"block","type":"SYSTEM_DS","base_path":"percent%opennebula"},"cluster_id":"100","csrftoken":"f30efa53fe6671e90fecdb83e820fde5"})</h2>
<ul>
<li class="first"><strong>file:</strong>
common.rb
</li>
<li><strong>location:</strong> decode_www_form_component
</li>
<li class="last"><strong>line:
</strong> 898</li>
</ul>
</div>
Version 4.10.1
#2 Updated by Ruben S. Montero over 6 years ago
- Tracker changed from Backlog to Feature
- Status changed from Pending to New
- Assignee set to Javi Fontan
- Target version set to Release 4.12
#3 Updated by Ruben S. Montero over 6 years ago
- Category changed from vCenter to Drivers - VM
#4 Updated by Ruben S. Montero over 6 years ago
- Priority changed from Normal to High
#5 Updated by Ruben S. Montero over 6 years ago
- Status changed from New to Pending
#6 Updated by Ruben S. Montero over 6 years ago
- Tracker changed from Feature to Backlog
#7 Updated by Ruben S. Montero over 6 years ago
- Target version deleted (
Release 4.12)