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

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Mon Jun 16 04:45:05 UTC 2014


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

-- 
1.9.3




More information about the Kimchi-devel mailing list