Changeset 82 for branches/stable/cgi-bin/main.cgi
- Timestamp:
- 11/26/04 14:30:49 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/main.cgi
r76 r82 932 932 $html =~ s|\$\$ALLOC_FROM\$\$|$alloc_from|g; 933 933 $html =~ s|\$\$CIDR\$\$|$cidr|g; 934 $webvar{city} = desanitize($webvar{city}); 934 935 $html =~ s|\$\$CITY\$\$|$webvar{city}|g; 935 936 $html =~ s|\$\$CUSTID\$\$|$webvar{custid}|g; … … 1157 1158 printAndExit("Please enter a customer ID."); 1158 1159 } 1159 if ($webvar{custid} !~ /^(?:\d{10}|\d{7}|STAFF )(?:-\d\d?)?$/) {1160 if ($webvar{custid} !~ /^(?:\d{10}|\d{7}|STAFF|TEMP)(?:-\d\d?)?$/) { 1160 1161 # Force uppercase for now... 1161 1162 $webvar{custid} =~ tr/a-z/A-Z/;
Note:
See TracChangeset
for help on using the changeset viewer.