1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 19:56:48 +00:00
webvirtcloud/storages
catborise eb828b364d fix(storages): Ceph and NFS pool values are escaped, host names may be long
create_storage_ceph and create_storage_netfs wrote the pool, host, user,
secret and format values into the pool XML unescaped and unchecked: the
page's patterns were the only guard, and a direct POST could break or
extend the XML. The values now go through util.xml_escape, as the
network code does. The page's host fields stopped at 20 characters, so
nfs01.storage.example.com could not be typed: they take a host name's
253; the Ceph pool and user fields lose the limit the server never had.
2026-10-19 20:43:45 +03:00
..
api fix(storages): keep volumes a VM still needs 2026-10-13 09:13:02 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates fix(storages): Ceph and NFS pool values are escaped, host names may be long 2026-10-19 20:43:45 +03:00
tests fix(storages): Ceph and NFS pool values are escaped, host names may be long 2026-10-19 20:43:45 +03:00
__init__.py build new tree 2015-02-27 11:28:22 +02:00
forms.py fix(storages): pool sources take real device and export paths, a leading special character is refused 2026-10-19 12:10:33 +03:00
jobs.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
models.py reorg imports and black format 2022-11-02 16:05:41 +03:00
upload.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
views.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00