Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug and fix] can't add dir that contain "." #655

Open
MFWT opened this issue Aug 17, 2024 · 0 comments
Open

[Bug and fix] can't add dir that contain "." #655

MFWT opened this issue Aug 17, 2024 · 0 comments

Comments

@MFWT
Copy link

MFWT commented Aug 17, 2024

what I met

In "computes - - storage", I tried to add a dir called /mnt/HDD.ori/KVM but it failed

what I did to fix that

open /srv/webvirtcloud/storages/templates/create_stg_block.html
modity the regex of the input box (near Line 66)
from:

[a-zA-Z0-9\/\-_]+

to:

[a-zA-Z0-9\/\-_.]+
# ------------- Add a dot here

and it works, I could use it normally.

Hope it may help someone else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant