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

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Thu Jun 19 00:53:27 UTC 2014


From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>

V2 -> V3:
rebase

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     | 18 +++++++++---------
 ui/js/src/kimchi.utils.js       |  7 +++++++
 ui/pages/tabs/network.html.tmpl |  2 +-
 4 files changed, 25 insertions(+), 13 deletions(-)

-- 
1.9.3




More information about the Kimchi-devel mailing list