1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/storages
catborise c8b0cb3a4a fix(storages): pool sources take real device and export paths, a leading special character is refused
The source check of a new logical or NFS pool accepted only letters,
digits and "/", which refused paths such as /dev/mapper/vg0-data,
/dev/disk/by-id/wwn-..., /dev/disk/by-path/pci-0000:00:1f.2-ata-1 or
/export/vm_images. The target check let any first character but "-"
through, so a quote, "<" or "&" reached the pool XML and libvirt failed
on it.

Target and source now share one expression: letters, digits, "/", "_",
".", ":" and "-" (not first, not right after "/"), still in linear time.
The Vagrant computes' NFS export becomes /srv/wvc-nfs, created through the
page in the live pool test.
2026-10-19 12:10:33 +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(templates): pages parse without markup errors, element IDs are unique 2026-10-19 07:49:25 +03:00
tests fix(storages): pool sources take real device and export paths, a leading special character is refused 2026-10-19 12:10:33 +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