Re: Valid characters in domain names?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/05/2010 03:03 AM, Paolo Bonzini wrote:
On 10/03/2010 11:33 AM, Richard W.M. Jones wrote:
Indeed. I'm sure we need a whitelist, not a blacklist as suggested by
the other comment. All domains I'd ever want to create would match
the regexp

^[[:alpha:]][-_[:alnum:]]*$

This might break existing users however.

A period in a name is definitely useful. Also, I think there is no need
to differentiate between the first and the other characters, except
perhaps to prohibit a name starting with "-".

Heh.  Two periods in a name could lead to fun.  Stuff like:

  name="../../../etc/shadow"

Well, you know what I mean. :)

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]