Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1685553 - VM wizard validation accepts incorrect URL format
Summary: VM wizard validation accepts incorrect URL format
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 1.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 2.0
Assignee: Tomas Jelinek
QA Contact: Radim Hrazdil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-05 13:29 UTC by Radim Hrazdil
Modified: 2019-03-27 00:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-27 00:27:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Radim Hrazdil 2019-03-05 13:29:06 UTC
Description of problem:


Version-Release number of selected component (if applicable):
kubevirt-web-ui:v1.4.0-14.1

How reproducible:
100%

Steps to Reproduce:
1. Open VM wizard and 
2. Select URL as provision source
3. input: ['asdfhttps:', 'asdfhttp:', 'http:/asdf',]

Actual results:
All URLs are accepted

Expected results:
These URLs should not be validated as correct 

Additional info:

Comment 1 Tomas Jelinek 2019-03-27 00:27:03 UTC
We are using the standard javascript validation of the URL and it properly validates the cases like "aa\bb". The cases above look strange indeed but are passing the validation. I would trust the standard validator and close the bug.

Please feel free to reopen if it will cause some issues.


Note You need to log in before you can comment on or make changes to this bug.