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

Aline Manera alinefm at linux.vnet.ibm.com
Tue Jun 17 22:55:31 UTC 2014


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.

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(-)
>




More information about the Kimchi-devel mailing list