[LON-CAPA-cvs] cvs: doc /loncapafiles updatequery.piml

raeburn raeburn@source.lon-capa.org
Sat, 04 Jun 2011 03:55:49 -0000


raeburn		Sat Jun  4 03:55:49 2011 EDT

  Modified files:              
    /doc/loncapafiles	updatequery.piml 
  Log:
  - more flexibility in allowed internet domain names.
  
  
Index: doc/loncapafiles/updatequery.piml
diff -u doc/loncapafiles/updatequery.piml:1.70 doc/loncapafiles/updatequery.piml:1.71
--- doc/loncapafiles/updatequery.piml:1.70	Mon Mar 28 13:58:56 2011
+++ doc/loncapafiles/updatequery.piml	Sat Jun  4 03:55:49 2011
@@ -1,6 +1,6 @@
 <!-- updatequery.piml -->
 
-<!-- $Id: updatequery.piml,v 1.70 2011/03/28 13:58:56 raeburn Exp $ -->
+<!-- $Id: updatequery.piml,v 1.71 2011/06/04 03:55:49 raeburn Exp $ -->
 
 <!--
 
@@ -822,7 +822,7 @@
 
 if (!defined($intdom)) { 
    push(@error,"No internet domain name designated. Enter something like ustate.edu"); 
-} elsif ($intdom !~ /^[^.]+\.\w{2,6}$/) {
+} elsif ($intdom !~ /[^.]+\.\w{2,6}$/) {
    push(@error,"Invalid Internet domain name (must be at least two levels separated by .  - e.g., ustate.edu");
 }