tuansandman / opendlp

Automatically exported from code.google.com/p/opendlp
0 stars 0 forks source link

Support for underscores in domain names? #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.enter a domain name containing an underscore in the profile config

Error: "Windows domain can only contain alphanumeric and dash characters"

What version of the product are you using? On what operating system?

0.2.2 Ubuntu-based VirtualBox VM released 2010.08.25

Client on Windows XP SP3

Question: Is it possible to add support for underscores in domain names?

Original issue reported on code.google.com by joshua.s...@gmail.com on 2 Sep 2010 at 5:06

GoogleCodeExporter commented 9 years ago
This is a bug and it will be fixed in the next release, thank you for finding 
it.

In the meantime, you can easily fix it yourself.  On line 178 of the 
"start-verify.html" script, add an underscore to the regex:

if( $domain !~ /^[A-Z0-9\-_]+$/i )

Original comment by andrew.O...@gmail.com on 2 Sep 2010 at 9:57

GoogleCodeExporter commented 9 years ago
Thanks! That worked perfectly.

Original comment by joshua.s...@gmail.com on 2 Sep 2010 at 10:32

GoogleCodeExporter commented 9 years ago
Fixed in 0.2.3

Original comment by andrew.O...@gmail.com on 22 Dec 2010 at 5:17