summaryrefslogtreecommitdiffstats
path: root/web/attachments/195732-utils.pm-1.4.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/195732-utils.pm-1.4.3.patch')
-rw-r--r--web/attachments/195732-utils.pm-1.4.3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/attachments/195732-utils.pm-1.4.3.patch b/web/attachments/195732-utils.pm-1.4.3.patch
new file mode 100644
index 0000000..987e4b8
--- /dev/null
+++ b/web/attachments/195732-utils.pm-1.4.3.patch
@@ -0,0 +1,11 @@
1--- utils.pm.orig Thu Sep 28 14:05:56 2006
2+++ utils.pm Thu Sep 28 14:06:01 2006
3@@ -73,7 +73,7 @@
4
5 sub is_hostname {
6 my $host1 = shift;
7- if ($host1 && $host1 =~ m/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|[a-zA-Z0-9][-a-zA-Z0-9]+(\.[a-zA-Z][-a-zA-Z0-9]+)*)$/) {
8+ if ($host1 && $host1 =~ m/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|[a-zA-Z0-9][-a-zA-Z0-9]+(\.[a-zA-Z0-9][-a-zA-Z0-9]+)*\.[a-zA-Z][-a-zA-Z0-9]+)$/) {
9 return 1;
10 }else{
11 return 0;