Project

General

Profile

Bug #570

Network Alias does not allow 0-9 characters

Added by volkswagner almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
07/13/2010
Due date:
% Done:

100%


Description

I have a situation where a needed alias is not allowed. I need to add aliases, because I chose a domain name that exists in the real world internet. One sub domain for this has a leading "5". This alias happens to be my outside mail server. Oddly my linux box does not care, but my wife's MS Windows box won't connect to the mail smtp server. I am guessing this is because I can't set the alias.

Request... Please allow numbers in alias name.

History

#1 Updated by volkswagner almost 11 years ago

  • Priority changed from Normal to High

#2 Updated by cpg almost 11 years ago

this is the regexp we are using now:

"^[A-Za-z][A-Za-z0-9\-]+$"

i.e. start with a letter

i am not sure what is really the official requirements for these things.
can you research it?

this is not a hard thing to enforce.

#3 Updated by volkswagner almost 11 years ago

see below #4

#4 Updated by volkswagner almost 11 years ago

volkswagner wrote:

I have found some helpful information on the matter of domain, subdomain regex from the following link.

This code can be adapted for the program language in use.

"[a-z0-9-]+(.[a-z0-9-]+)+ # Domain"

I see using numbers in the subdomain is acceptable.

Source:
http://answers.oreilly.com/topic/280-how-to-validate-urls-with-regular-expressions/

#5 Updated by Anonymous almost 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:"3e4caf7ec0063d35e1798ab7a8f41d6d994acf38".

Also available in: Atom