]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/CheckRFC.pm
deleted 'use Carp' (debugging time is over ;)
[selfforum.git] / selfforum-cgi / shared / CheckRFC.pm
index 6c64adeed5c15d71194dd88556a519e0dc880c45..3a1ed0c3cc2b05d3779f1c71ab95f3d811fc7099 100644 (file)
@@ -11,7 +11,6 @@ package CheckRFC;
 ################################################################################
 
 use strict;
-
 use vars qw(%url $email @EXPORT);
 
 use autouse 'Carp' => qw(croak);
@@ -172,7 +171,7 @@ BEGIN {
   my $hsegment       =  "(?:(?:$httpuchar|[;:\@&=~])*)";
   my $search         =  "(?:(?:$httpuchar|[;:\@&=~])*)";
   my $hpath          =  "(?:$hsegment(?:/$hsegment)*)";
-  my $httpurl        =  "(?:http://$hostport(?:/$hpath(?:\\?$search)?)?)";
+  my $httpurl        =  "(?:http://$hostport(?:/$hpath(?:\\?$search)?)?(?:#$xchar*)?)";
 
   # GOPHER (see also RFC1436)
   my $gopher_plus    =  "(?:$xchar*)";

patrick-canterino.de