[Kimchi-devel] [PATCH V2 0/4] bug fix: accept all characters for network name except / and "

Sheldon shaohef at linux.vnet.ibm.com
Wed Jun 18 06:23:23 UTC 2014


On 06/18/2014 06:55 AM, Aline Manera wrote:
>
> Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>
>
> Probably we need to do the same for the other resources: storage pool, 
> vm, etc.
ACK. we need to check the storage pool, vm, etc.
>
> On 06/16/2014 01:45 AM, shaohef at linux.vnet.ibm.com wrote:
>> From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
>>
>> V1 - V2
>> just restrict " and /.
>>
>> " is not allowed in dnsmasq configure file.
>> / is not allowed in a linux file name.
>> we should not put extra restrictions.
>>
>>
>> ShaoHe Feng (4):
>> bug fix: network name can be any characters except " and /
>> network name support unicode.
>> escape < > and & in in xml for network name.
>> escape special characters for jQuery selector.
>>
>> src/kimchi/model/networks.py | 11 ++++++++---
>> ui/js/src/kimchi.network.js | 28 ++++++++++++++--------------
>> ui/js/src/kimchi.utils.js | 7 +++++++
>> ui/pages/tabs/network.html.tmpl | 2 +-
>> 4 files changed, 30 insertions(+), 18 deletions(-)
>>
>
>
>


-- 
Thanks and best regards!

Sheldon Feng(冯少合)<shaohef at linux.vnet.ibm.com>
IBM Linux Technology Center




More information about the Kimchi-devel mailing list