[GH-ISSUE #163] Wrong pattern at "Add ISO Storage Pool" #127

Closed
opened 2026-02-27 16:38:03 +03:00 by kerem · 3 comments
Owner

Originally created by @lub on GitHub (Dec 8, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/163

Hello,

I noticed that it is forbidden to add an ISO Storage Pool with a Path that contains capital letters, because there is a wrong pattern for the inputbox:

<input type="text" pattern="[a-z0-9\/]+" required="" value="/var/www/webvirtmgr/images" name="target" class="form-control">

If I change the pattern to [a-zA-Z0-9\/]+ it works.

Originally created by @lub on GitHub (Dec 8, 2013). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/163 Hello, I noticed that it is forbidden to add an ISO Storage Pool with a Path that contains capital letters, because there is a wrong pattern for the inputbox: ``` <input type="text" pattern="[a-z0-9\/]+" required="" value="/var/www/webvirtmgr/images" name="target" class="form-control"> ``` If I change the pattern to `[a-zA-Z0-9\/]+` it works.
kerem closed this issue 2026-02-27 16:38:04 +03:00
Author
Owner

@retspen commented on GitHub (Dec 10, 2013):

You need create name with A-Z letter ?

<!-- gh-comment-id:30221598 --> @retspen commented on GitHub (Dec 10, 2013): You need create name with A-Z letter ?
Author
Owner

@lub commented on GitHub (Dec 10, 2013):

Yeah. My path was /storage/ISOs and webvirtmgr didn't accept it.
Changing the pattern with Firebug solved it, but I couldn't find the corresponding code line in git.
So I created an issue.

<!-- gh-comment-id:30278896 --> @lub commented on GitHub (Dec 10, 2013): Yeah. My path was /storage/ISOs and webvirtmgr didn't accept it. Changing the pattern with Firebug solved it, but I couldn't find the corresponding code line in git. So I created an issue.
Author
Owner

@retspen commented on GitHub (Dec 12, 2013):

Fix this

<!-- gh-comment-id:30430768 --> @retspen commented on GitHub (Dec 12, 2013): Fix this
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#127
No description provided.