mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
schema: Relax schema for domain name
The domain schema enforced restrictions on the domain name string that the code doesn't. This patch relaxes the check, leaving the restrictions on the driver or hypervisor. The only invalid character is a newline.
This commit is contained in:
parent
adb99a05b1
commit
8a09ee4103
@ -3030,7 +3030,7 @@
|
|||||||
</define>
|
</define>
|
||||||
<define name="domainName">
|
<define name="domainName">
|
||||||
<data type="string">
|
<data type="string">
|
||||||
<param name="pattern">[A-Za-z0-9_\.\+\-&:/]+</param>
|
<param name="pattern">[^\n]+</param>
|
||||||
</data>
|
</data>
|
||||||
</define>
|
</define>
|
||||||
<define name="diskSerial">
|
<define name="diskSerial">
|
||||||
|
Loading…
Reference in New Issue
Block a user