[GH-ISSUE #128] Adding storage regex issue (iso, lvm) #84

Closed
opened 2026-02-27 15:57:16 +03:00 by kerem · 1 comment
Owner

Originally created by @chris-mcintosh on GitHub (Oct 15, 2016).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/128

There is an issue where javascript is complaining about the escaped underscore in the form input required pattern. A console error occurs in both chrome and firefox. Chrome seems to not allow the input at all. Seen on OSX.

This seems to affect Storage "iso path" and "lvm name". I tested and changing [a-zA-Z0-9\.\-\_]+ to [a-zA-Z0-9\.\-_]+ seems to fix it.

https://github.com/retspen/webvirtcloud/blob/master/storages/templates/create_stg_block.html#L69
and
https://github.com/retspen/webvirtcloud/blob/master/storages/templates/create_stg_block.html#L220

Originally created by @chris-mcintosh on GitHub (Oct 15, 2016). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/128 There is an issue where javascript is complaining about the escaped underscore in the form input required pattern. A console error occurs in both chrome and firefox. Chrome seems to not allow the input at all. Seen on OSX. This seems to affect Storage "iso path" and "lvm name". I tested and changing `[a-zA-Z0-9\.\-\_]+` to `[a-zA-Z0-9\.\-_]+` seems to fix it. https://github.com/retspen/webvirtcloud/blob/master/storages/templates/create_stg_block.html#L69 and https://github.com/retspen/webvirtcloud/blob/master/storages/templates/create_stg_block.html#L220
kerem closed this issue 2026-02-27 15:57:16 +03:00
Author
Owner

@chris-mcintosh commented on GitHub (Oct 15, 2016):

First time using github to make a change. Figured out how to create a pull request.

https://github.com/retspen/webvirtcloud/pull/129

<!-- gh-comment-id:253962371 --> @chris-mcintosh commented on GitHub (Oct 15, 2016): First time using github to make a change. Figured out how to create a pull request. https://github.com/retspen/webvirtcloud/pull/129
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/webvirtcloud#84
No description provided.