[GH-ISSUE #32] Support for virtual machines with special characters in the name #24

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

Originally created by @JJClements on GitHub (Mar 1, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/32

It would be good to look at supporting virtual machines with special characters in the name of the virtual machine.

I guess this could be fixed by either using a different framework other than Django which would mean a total rewrite of the project -OR- look at using the virtual machine ID in the URL instead of the virtual machine name with the special characters in it that isnt supported by Django

Originally created by @JJClements on GitHub (Mar 1, 2013). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/32 It would be good to look at supporting virtual machines with special characters in the name of the virtual machine. I guess this could be fixed by either using a different framework other than Django which would mean a total rewrite of the project -OR- look at using the virtual machine ID in the URL instead of the virtual machine name with the special characters in it that isnt supported by Django
kerem closed this issue 2026-02-27 16:00:43 +03:00
Author
Owner

@retspen commented on GitHub (Mar 1, 2013):

Why? ID will be change after reboot.

<!-- gh-comment-id:14283505 --> @retspen commented on GitHub (Mar 1, 2013): Why? ID will be change after reboot.
Author
Owner

@JJClements commented on GitHub (Mar 1, 2013):

True, so is it possible to get the ID for the virtual machine when it is selected and use that instead of the virtual machine name?

Or better still, use the UUID from the virtual machine XML file. This will never change and will be unique for every virtual machine. e.g. ef5692c6-4678-5abc-5c3f-16b63cacfc41

and now you have added support for the character '-' in the URL this should work ok.

<!-- gh-comment-id:14284487 --> @JJClements commented on GitHub (Mar 1, 2013): True, so is it possible to get the ID for the virtual machine when it is selected and use that instead of the virtual machine name? Or better still, use the UUID from the virtual machine XML file. This will never change and will be unique for every virtual machine. e.g. ef5692c6-4678-5abc-5c3f-16b63cacfc41 and now you have added support for the character '-' in the URL this should work ok.
Author
Owner

@retspen commented on GitHub (Mar 1, 2013):

Why need use name like ef5692c6-4678-5abc-5c3f-16b63cacfc41? Simple usage My-New-VM in URL.

<!-- gh-comment-id:14284838 --> @retspen commented on GitHub (Mar 1, 2013): Why need use name like ef5692c6-4678-5abc-5c3f-16b63cacfc41? Simple usage My-New-VM in URL.
Author
Owner

@JJClements commented on GitHub (Mar 1, 2013):

Hi, the reason is because we prefer to use the FQDN as the name of the server e.g. 'web001.domain.com' and at the moment there is no support for servers with a '.' in the name.

<!-- gh-comment-id:14285118 --> @JJClements commented on GitHub (Mar 1, 2013): Hi, the reason is because we prefer to use the FQDN as the name of the server e.g. 'web001.domain.com' and at the moment there is no support for servers with a '.' in the name.
Author
Owner

@JJClements commented on GitHub (Mar 1, 2013):

We also already have LOTS of virtual servers with a name like web001.domain.com and at the moment we cannot manage these with WebVirtMgr if we wanted to. I guess there will be lots of other people with virtual servers that also have a '.' in the name!?

<!-- gh-comment-id:14285218 --> @JJClements commented on GitHub (Mar 1, 2013): We also already have LOTS of virtual servers with a name like web001.domain.com and at the moment we cannot manage these with WebVirtMgr if we wanted to. I guess there will be lots of other people with virtual servers that also have a '.' in the name!?
Author
Owner

@retspen commented on GitHub (Mar 1, 2013):

Add support "." in VM name

<!-- gh-comment-id:14285523 --> @retspen commented on GitHub (Mar 1, 2013): Add support "." in VM name
Author
Owner

@JJClements commented on GitHub (Mar 1, 2013):

Thanks very much!!! There is still an issue if you attempt to add a KVM host connection with a '.' in the name as well. Can you check this for us?

<!-- gh-comment-id:14286058 --> @JJClements commented on GitHub (Mar 1, 2013): Thanks very much!!! There is still an issue if you attempt to add a KVM host connection with a '.' in the name as well. Can you check this for us?
Author
Owner

@retspen commented on GitHub (Mar 1, 2013):

Fix

<!-- gh-comment-id:14286429 --> @retspen commented on GitHub (Mar 1, 2013): Fix
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#24
No description provided.