mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #604] Create Storage Pool does not allow permitted characters #458
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mjolnirgs on GitHub (Mar 7, 2016).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/604
I am trying to add a local directory as a storage pool that contains a "-" in the path name.
example:
/nfs/dev_vmfs-nfs
This is a valid path and should be allowed by webvirtmgr.
when adding this location, there is an error "The target must not contain any special characters"
@mjolnirgs commented on GitHub (Mar 7, 2016):
adding the dash to all of the have_symbol = re.match('^[a-zA-Z0-9/_-]+$' lines after the underscore in storages/forms.py fixes the problem.